}
validateGlobalContainer();
}</BUG>
private boolean contains(Collection<ResourceType> resourceTypes, ResourceType resourceType) {
for (ResourceType rt : resourceTypes) {
<BUG>if (resourceType.getName().equals(rt.getName())

&& resourceType.getStorageStrategy().getClass().equals(rt.getStorageStrategy().getClazz())
&& resourceType.getPersistenceSelectorStrategy().getClazz().equals(rt.getPersistenceSelectorStrategy().getClazz()))</BUG>
return true;

}
}
return resourceTypes;
}
private void checkCollection(SnmpCollection collection) {
if (collection.getSystems() == null)
collection.setSystems(new Systems());
if (collection.getGroups() == null)
collection.setGroups(new Groups());
}
private boolean contains(Collection<ResourceType> resourceTypes, ResourceType resourceType) {
for (ResourceType rt : resourceTypes) {
if (resourceType.getName().equals(rt.getName()))
return true;
