Changeset 2174 for ComponentRegistry/branches/ComponentRegistry-1.13.0-olha/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/CMDComponentTypeWrapper.java
- Timestamp:
- 08/29/12 15:19:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/branches/ComponentRegistry-1.13.0-olha/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/CMDComponentTypeWrapper.java
r2153 r2174 34 34 if (component != null) {component.setFilename(null);} 35 35 36 for (CMDComponentType currentcomponent : listofcomponents) { 37 CMDComponentTypeWrapper currentwrapper = new CMDComponentTypeWrapper(currentcomponent); 38 currentwrapper.setFileNamesToNull(); 36 setFileNamesFromListToNull(listofcomponents); 37 38 } 39 40 41 private void setFileNamesFromListToNull(List<CMDComponentType> listofcomponents){ 42 43 for (CMDComponentType currentcomponent : listofcomponents) { 44 setFileNamesToNullCurrent(currentcomponent); 39 45 } 46 47 } 48 49 private void setFileNamesToNullCurrent(CMDComponentType currentcomponent){ 50 51 currentcomponent.setFilename(null); 52 setFileNamesFromListToNull(currentcomponent.getCMDComponent()); 40 53 41 54 }
Note: See TracChangeset
for help on using the changeset viewer.