From 10fb9dffa91b0ff6e5c616a72b7f831e473980fc Mon Sep 17 00:00:00 2001 From: Francesco Mangiacrapa Date: Wed, 14 Mar 2018 15:26:18 +0000 Subject: [PATCH] changed sort git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/widgets/ws-thredds-sync-widget@165078 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../server/ThreddsWorkspaceSyncServiceImpl.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/portlets/widgets/wsthreddssync/server/ThreddsWorkspaceSyncServiceImpl.java b/src/main/java/org/gcube/portlets/widgets/wsthreddssync/server/ThreddsWorkspaceSyncServiceImpl.java index 9492a3e..36ba150 100644 --- a/src/main/java/org/gcube/portlets/widgets/wsthreddssync/server/ThreddsWorkspaceSyncServiceImpl.java +++ b/src/main/java/org/gcube/portlets/widgets/wsthreddssync/server/ThreddsWorkspaceSyncServiceImpl.java @@ -167,8 +167,10 @@ public class ThreddsWorkspaceSyncServiceImpl extends RemoteServiceServlet implem if (!isWithinPortal()){ listOfScopes.add(new GcubeScope("devVRE", "/gcube/devsec/devVRE", GcubeScopeType.VRE)); listOfScopes.add(new GcubeScope("NextNext", "/gcube/devNext/NextNext", GcubeScopeType.VRE)); - listOfScopes.add(new GcubeScope("/gcube/devNext", "/gcube/devNext", GcubeScopeType.VO)); - listOfScopes.add(new GcubeScope("/gcube", "/gcube", GcubeScopeType.ROOT)); + listOfScopes.add(new GcubeScope("devNext", "/gcube/devNext", GcubeScopeType.VO)); + listOfScopes.add(new GcubeScope("devsec", "/gcube/devsec", GcubeScopeType.VO)); + listOfScopes.add(new GcubeScope("gcube", "/gcube", GcubeScopeType.ROOT)); + Collections.sort(listOfScopes); return listOfScopes; }