diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/SessionUtil.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/SessionUtil.java index 7db57c8..ff3d44e 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/SessionUtil.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/SessionUtil.java @@ -1824,8 +1824,8 @@ public class SessionUtil { chartTopRatingSession); } - - //Geospatial + + // Geospatial public static GeospatialCreateCoordinatesSession getGeospatialCreateCoordinatesSession( HttpSession httpSession) { GeospatialCreateCoordinatesSession geospatialCreateCoordinatesSession = (GeospatialCreateCoordinatesSession) httpSession @@ -1834,25 +1834,27 @@ public class SessionUtil { return geospatialCreateCoordinatesSession; } else { geospatialCreateCoordinatesSession = new GeospatialCreateCoordinatesSession(); - httpSession.setAttribute(SessionConstants.GEOSPATIAL_CREATE_COORDINATES_SESSION, + httpSession.setAttribute( + SessionConstants.GEOSPATIAL_CREATE_COORDINATES_SESSION, geospatialCreateCoordinatesSession); return geospatialCreateCoordinatesSession; } } - public static void setGeospatialCreateCoordinatesSession(HttpSession httpSession, + public static void setGeospatialCreateCoordinatesSession( + HttpSession httpSession, GeospatialCreateCoordinatesSession geospatialCreateCoordinateSession) { GeospatialCreateCoordinatesSession sc = (GeospatialCreateCoordinatesSession) httpSession .getAttribute(SessionConstants.GEOSPATIAL_CREATE_COORDINATES_SESSION); if (sc != null) { - httpSession.removeAttribute(SessionConstants.GEOSPATIAL_CREATE_COORDINATES_SESSION); + httpSession + .removeAttribute(SessionConstants.GEOSPATIAL_CREATE_COORDINATES_SESSION); } - httpSession.setAttribute(SessionConstants.GEOSPATIAL_CREATE_COORDINATES_SESSION, + httpSession.setAttribute( + SessionConstants.GEOSPATIAL_CREATE_COORDINATES_SESSION, geospatialCreateCoordinateSession); } - - /** * Retrieve task started