restore some log messages, remove deprecated methods
@@ -178,6 +178,7 @@ public class GenericRestWSServer implements IWSServer {
this.httpServletRequest = hsr;
init();
+ logger.debug("Executing GenericRestWSServer constructor with no Species");
initQuery(false);
}
@@ -189,6 +190,7 @@ public class GenericRestWSServer implements IWSServer {
this.httpServletRequest = hsr;
init();
+ logger.debug("Executing GenericRestWSServer constructor with a Species");
initQuery(true);
}
@@ -449,30 +451,4 @@ public class GenericRestWSServer implements IWSServer {
}
return queries;
}
-
- /*
- * TO DELETE
- */
- @Deprecated
- protected Response generateResponse(String queryString, List features) throws IOException {
- return createOkResponse("TODO: generateResponse is deprecated");
- }
-
- @Deprecated
- protected Response generateResponse(String queryString, String headerTag, List features) throws IOException {
- return createOkResponse("TODO: generateResponse is deprecated");
- }
-
- @Deprecated
- private boolean isSpecieAvailable(String species) {
- List<SpeciesConfiguration> speciesList = cellBaseConfiguration.getAllSpecies();
- for (int i = 0; i < speciesList.size(); i++) {
- // This only allows to show the information if species is in 3
- // letters format
- if (species.equalsIgnoreCase(speciesList.get(i).getId())) {
- return true;
- }
- }
- return false;
- }
}
