Changeset 515
- Timestamp:
- 06/17/10 12:23:31 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/VirtualColletionRegistryOAIRepository.java
r514 r515 221 221 @Override 222 222 public Set<SetSpecDesc> getSetDescs() { 223 Set<SetSpecDesc> setspecs = new HashSet<SetSpecDesc>(); 224 setspecs.add(new SetSpecDesc("odd", "Odd virtual collections")); 225 setspecs.add(new SetSpecDesc("even", "even virtual collections", 226 "With a description")); 227 return setspecs; 223 return null; 228 224 } 229 225 … … 360 356 @Override 361 357 public List<String> getSetSpecs() { 362 List<String> specs = null; 363 if (vc.getId() % 2 == 0) { 364 specs = Arrays.asList("even"); 365 } else { 366 specs = Arrays.asList("odd"); 367 } 368 return specs; 358 return null; 369 359 } 370 360 … … 408 398 @Override 409 399 public List<String> getSetSpecs() { 410 List<String> specs = null; 411 if (id % 2 == 0) { 412 specs = Arrays.asList("even"); 413 } else { 414 specs = Arrays.asList("odd"); 415 } 416 return specs; 400 return null; 417 401 } 418 402
Note: See TracChangeset
for help on using the changeset viewer.