Changeset 2262 for trunk/java-client/org/nzdl
- Timestamp:
- 2001-04-03T02:31:21+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient/CSModel.java
r2225 r2262 156 156 Iterator collectionSetIterator = orderedCollectionSet.iterator(); 157 157 while (collectionSetIterator.hasNext() ) { 158 // object -> String 159 String collectionName = (String)collectionSetIterator.next(); 160 NzdlCollectionInfo info = nzdl.getCollectionInfo(collectionName); 161 if (info != null && 162 info.getBuildDate() != 0) { 163 collectionInfoMap.put(collectionName, info); 164 String longCollectionName = ""; 165 Set n = nzdl.getMetaData(collectionName, "collection", "collectionname"); 166 if (n.size() == 1) 158 // object -> String 159 String collectionName = (String)collectionSetIterator.next(); 160 NzdlCollectionInfo info = nzdl.getCollectionInfo(collectionName); 161 162 if (info != null && 163 info.getBuildDate() != 0 && 164 nzdl.pingCollection(collectionName)) { 165 collectionInfoMap.put(collectionName, info); 166 String longCollectionName = ""; 167 Set n = nzdl.getMetaData(collectionName, "collection", "collectionname"); 168 if (n.size() == 1) 167 169 longCollectionName = (String) n.toArray()[0]; 168 170 else 169 171 longCollectionName = collectionName + " has more than 1 collectionname"; 170 171 172 collectionNameMap.put(collectionName,longCollectionName ); 173 System.err.println("Adding " + collectionName + " to collection list..."); 172 174 } // end if 173 175 else {
Note:
See TracChangeset
for help on using the changeset viewer.