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

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/schedframe/scheduling/manager/resources/LocalResourceManager.java

    r779 r1054  
    9090                        while (!toExamine.isEmpty()) { 
    9191                                ComputingResource resource = toExamine.pop(); 
    92                                 if(resource.getType() == type) 
     92                                if(resource.getType().getName().equals(type.getName())) 
    9393                                        return true; 
    9494                                List<ComputingResource> resources = resource.getChildren(); 
     
    9898                                for (int i = 0; i < numberOfResComp; i++) { 
    9999                                        ComputingResource resourceChild = resources.get(i); 
    100                                         if (resourceChild.getType() == type) { 
     100                                        if (resourceChild.getType().getName().equals(type.getName())) { 
    101101                                                return true; 
    102102                                        } else 
Note: See TracChangeset for help on using the changeset viewer.