Skip to content

Commit

Permalink
#269 updated version to 0.4 snapshot, removed deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
GordeaS authored and GordeaS committed Nov 16, 2020
1 parent e42f42c commit 9ffe980
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,25 +100,6 @@ String encodeUrl(String url) throws UnsupportedEncodingException {
return URLEncoder.encode(url, "UTF-8");
}

/**
* This method applies the XSLT to the XML output for each of the URIs in the
* list and fills the map with the URI and JSON string. It sends GET HTTP
* request to dereference URI.
*
* @deprecated use {@link #dereferenceMany(String, List, String)} instead
* @param baseUrl The Metis base URL.
* @param uris The list of query URIs. The URI is composed from the base URI
* to Metis API completed with query URI from the entity.
* @param language e.g.
* "en,pl,de,nl,fr,it,da,sv,el,fi,hu,cs,sl,et,pt,es,lt,lv,bg,ro,sk,hr,ga,mt,no,ca,ru"
* @return response from Metis API in JSON-LD format
* @throws IOException
*/
@Deprecated
public synchronized Map<String, String> queryMetis(String baseUrl, List<String> uris, String language) throws IOException {
return dereferenceMany(baseUrl, uris, language);
}

/**
* This method applies the XSLT to the XML output for each of the URIs in the
* list and fills the map with the URI and JSON string. It sends GET HTTP
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<version.annotationApi>0.3.1-SNAPSHOT</version.annotationApi>
<version.annotationApi>0.4-SNAPSHOT</version.annotationApi>
<version.europeana-search-tools>0.0.1</version.europeana-search-tools>
<version.java>1.8</version.java>
<version.org.junit.jupiter>5.1.0</version.org.junit.jupiter>
Expand Down

0 comments on commit 9ffe980

Please sign in to comment.