diff --git a/annotation-dereferenciation/src/main/java/eu/europeana/annotation/dereferenciation/MetisDereferenciationClient.java b/annotation-dereferenciation/src/main/java/eu/europeana/annotation/dereferenciation/MetisDereferenciationClient.java index 5a213ea3a..e6714df3b 100644 --- a/annotation-dereferenciation/src/main/java/eu/europeana/annotation/dereferenciation/MetisDereferenciationClient.java +++ b/annotation-dereferenciation/src/main/java/eu/europeana/annotation/dereferenciation/MetisDereferenciationClient.java @@ -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 queryMetis(String baseUrl, List 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 diff --git a/pom.xml b/pom.xml index 30253d63a..0549b65ce 100644 --- a/pom.xml +++ b/pom.xml @@ -40,7 +40,7 @@ UTF-8 UTF-8 - 0.3.1-SNAPSHOT + 0.4-SNAPSHOT 0.0.1 1.8 5.1.0