Ignore:
Timestamp:
05/27/13 14:49:56 (12 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/schedframe/resources/computing/description/ComputingResourceDescription.java

    r815 r1052  
    8181 
    8282        private void initId(ComputingResource computingResource){ 
    83                 this.id = computingResource.getName() != null ? computingResource.getName() : type.toString(); 
     83                this.id = computingResource.getName() != null ? computingResource.getName() : type.getName(); 
    8484                if(computingResource.getCount() > 1 || computingResource.getName() == null){ 
    85                         this.id = id + "_" + String.valueOf(ResourceIdGenerator.getId(type.toString())); 
     85                        this.id = id + "_" + String.valueOf(ResourceIdGenerator.getId(type.getName())); 
    8686                } 
    8787        } 
Note: See TracChangeset for help on using the changeset viewer.