From 736264ddf1a1926acc70fb8e66f8ffe30574f165 Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Wed, 22 Dec 2021 12:24:03 +0100 Subject: [PATCH] removed comments --- .../client/GeoportalDataViewerService.java | 13 ++++++------- .../client/GeoportalDataViewerServiceAsync.java | 7 +++---- .../server/GeoportalDataViewerServiceImpl.java | 1 - 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/geoportaldataviewer/client/GeoportalDataViewerService.java b/src/main/java/org/gcube/portlets/user/geoportaldataviewer/client/GeoportalDataViewerService.java index 131611f..bba187a 100644 --- a/src/main/java/org/gcube/portlets/user/geoportaldataviewer/client/GeoportalDataViewerService.java +++ b/src/main/java/org/gcube/portlets/user/geoportaldataviewer/client/GeoportalDataViewerService.java @@ -88,11 +88,11 @@ public interface GeoportalDataViewerService extends RemoteService { /** * Gets the uploaded images for id. * - * @param itemType the item type - * @param itemId the item id + * @param itemType the item type + * @param itemId the item id * @param maxImages the max images * @return the uploaded images for id - * @throws Exception + * @throws Exception */ List getUploadedImagesForId(String itemType, String itemId, Integer maxImages) throws Exception; @@ -108,8 +108,8 @@ public interface GeoportalDataViewerService extends RemoteService { /** * Gets the layers for id. * - * @param itemType the item type - * @param itemId the item id + * @param itemType the item type + * @param itemId the item id * @return the layers for id * @throws Exception the exception */ @@ -134,7 +134,7 @@ public interface GeoportalDataViewerService extends RemoteService { * List of fields for searching. * * @return the list - * @throws Exception + * @throws Exception */ List listOfFieldsForSearching() throws Exception; @@ -151,5 +151,4 @@ public interface GeoportalDataViewerService extends RemoteService { ResultSetPaginatedData getListConcessioni(Integer start, Integer limit, SearchingFilter filter, boolean reloadFromService) throws Exception; - } diff --git a/src/main/java/org/gcube/portlets/user/geoportaldataviewer/client/GeoportalDataViewerServiceAsync.java b/src/main/java/org/gcube/portlets/user/geoportaldataviewer/client/GeoportalDataViewerServiceAsync.java index 3468f11..143455e 100644 --- a/src/main/java/org/gcube/portlets/user/geoportaldataviewer/client/GeoportalDataViewerServiceAsync.java +++ b/src/main/java/org/gcube/portlets/user/geoportaldataviewer/client/GeoportalDataViewerServiceAsync.java @@ -40,8 +40,8 @@ public interface GeoportalDataViewerServiceAsync { void parseWmsRequest(String wmsRequest, String layerName, AsyncCallback callback); - void getDataResult(List layerObjects, String mapSrsName, BoundsMap mapBBOX, int maxWFSFeature, double zoomLevel, - AsyncCallback> callback); + void getDataResult(List layerObjects, String mapSrsName, BoundsMap mapBBOX, int maxWFSFeature, + double zoomLevel, AsyncCallback> callback); void getConcessioneForId(String mongoId, AsyncCallback callback); @@ -56,8 +56,7 @@ public interface GeoportalDataViewerServiceAsync { void getPublicLinksFor(GeoNaItemRef item, AsyncCallback asyncCallback); - void getLayersForId(String itemType, String itemId, - AsyncCallback> asyncCallback); + void getLayersForId(String itemType, String itemId, AsyncCallback> asyncCallback); void getWFSFeatures(List layerObjects, String mapSrsName, BoundsMap selectBBOX, int maxWFSFeature, double zoomLevel, AsyncCallback> callback); diff --git a/src/main/java/org/gcube/portlets/user/geoportaldataviewer/server/GeoportalDataViewerServiceImpl.java b/src/main/java/org/gcube/portlets/user/geoportaldataviewer/server/GeoportalDataViewerServiceImpl.java index 3afcfa3..953db43 100644 --- a/src/main/java/org/gcube/portlets/user/geoportaldataviewer/server/GeoportalDataViewerServiceImpl.java +++ b/src/main/java/org/gcube/portlets/user/geoportaldataviewer/server/GeoportalDataViewerServiceImpl.java @@ -743,7 +743,6 @@ public class GeoportalDataViewerServiceImpl extends RemoteServiceServlet impleme SessionUtil.getCurrentContext(getThreadLocalRequest(), true); MongoServiceCommon serviceCommon = new MongoServiceCommon(); - // TODO MUST BE REPLACED BY COUNT List listOfConcessioni = SessionUtil.getListOfConcessioni(getThreadLocalRequest(), reloadFromService);