Changeset 1052 for DCWoRMS/branches/coolemall/src/schedframe
- Timestamp:
- 05/27/13 14:49:56 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/schedframe/resources/computing/description/ComputingResourceDescription.java
r815 r1052 81 81 82 82 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(); 84 84 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())); 86 86 } 87 87 }
Note: See TracChangeset
for help on using the changeset viewer.