Changeset 32648 for main/trunk/greenstone3
- Timestamp:
- 2018-12-03T13:08:27+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/CollectionGroups.java
r32553 r32648 29 29 private Element groupDesc = null; 30 30 31 p rivatestatic final String GROUP_CONTENT = "GroupCurrentContent";32 p rivatestatic final String UNIQUE_COLLECTIONS = "UniqueCollections";33 p rivatestatic final String COLLECTIONS_HIERARCHY = "CollectionsHierarchy";31 public static final String GROUP_CONTENT = "GroupCurrentContent"; 32 public static final String UNIQUE_COLLECTIONS = "UniqueCollections"; 33 public static final String COLLECTIONS_HIERARCHY = "CollectionsHierarchy"; 34 34 35 35 static Logger logger = Logger.getLogger(org.greenstone.gsdl3.service.BerryBasket.class.getName()); … … 484 484 485 485 String currentPath = ""; 486 boolean first = true; 486 487 for (int i = 0; i < pathSteps.length; i++) { 487 488 if (!pathSteps[i].isEmpty()) { 488 currentPath += "/" + pathSteps[i]; 489 if (first) { 490 first = false; 491 } else { 492 currentPath += "/"; 493 } 494 currentPath += pathSteps[i]; 489 495 Element pathStepDescription = getGroupDescription(pathSteps[i]); 490 496 if (pathStepDescription != null){
Note:
See TracChangeset
for help on using the changeset viewer.