Ignore:
Timestamp:
08/27/12 10:04:08 (12 years ago)
Author:
olhsha
Message:

refactoring of #50

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/branches/ComponentRegistry-1.13.0-olha/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/rest/ComponentRegistryRestService.java

    r2152 r2153  
    799799               
    800800                // Olha: removing filename from spec before it gets extended!!! recursion over all the components
    801                 List<CMDComponentType> listofcomponents=spec.getCMDComponent();
    802                 CMDComponentTypeWrapper setnulls= new CMDComponentTypeWrapper();
    803                
    804                 for (CMDComponentType currentcomponent : listofcomponents) {
    805                   setnulls.setFileNamesToNull(currentcomponent);
    806                   }
     801                CMDComponentTypeWrapper setnull = new CMDComponentTypeWrapper(spec);
    807802               
    808                 //for (CMDComponentType currentcomponent : listofcomponents) {
    809                   //((CMDComponentTypeWrapper) currentcomponent). setFileNamesToNull();
    810                    
    811                 //}
     803               
    812804               
    813805                try {
Note: See TracChangeset for help on using the changeset viewer.