X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=inline;f=plugins%2Forg.argeo.slc.client.ui.dist%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Fdist%2Fmodel%2FRepoElem.java;h=60916bec59d13d6601ca1a48e6124cc4f23662e3;hb=d4c3cf9cebb405ae97e8b5d0c793bf695bfa88ac;hp=7d584f7875d311927e90b2566e8e3eb4cab3a263;hpb=420f8848873b1781e72d6bef0bab3b9d2d680fbe;p=gpl%2Fargeo-slc.git diff --git a/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/model/RepoElem.java b/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/model/RepoElem.java index 7d584f787..60916bec5 100644 --- a/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/model/RepoElem.java +++ b/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/model/RepoElem.java @@ -24,7 +24,7 @@ import org.argeo.slc.repo.RepoUtils; import org.argeo.util.security.Keyring; /** - * Abstract a repository. Might be persisted by a node in the current user home + * Abstract a repository. It might be persisted by a node in the current user home * Node or just an URI and a label if user is anonymous */ public class RepoElem extends DistParentElem { @@ -116,7 +116,7 @@ public class RepoElem extends DistParentElem { session = repository.login(credentials); String[] workspaceNames = session.getWorkspace() .getAccessibleWorkspaceNames(); - Map children = new HashMap(); + Map children = new HashMap(); buildWksp: for (String workspaceName : workspaceNames) { // Add a supplementary check to hide workspace that are not @@ -148,7 +148,7 @@ public class RepoElem extends DistParentElem { String prefix = workspaceName.substring(0, workspaceName.lastIndexOf(VERSION_SEP)); if (!children.containsKey(prefix)) { - children.put(prefix, new GroupElem(RepoElem.this, + children.put(prefix, new WkspGroupElem(RepoElem.this, prefix)); } }