GerMessageDestinationType destination = (GerMessageDestinationType) gerDestinations[i].copy().changeType(GerMessageDestinationType.type);
String name = destination.getMessageDestinationName().trim();
nameMap.put(name, destination);
boolean found = false;
for (int j = 0; j < specDestinations.length; j++) {
MessageDestinationType specDestination = (MessageDestinationType) specDestinations[j];
if (specDestination.getMessageDestinationName().getStringValue().trim().equals(name)) {
found = true;
break;
}
}
if (!found) {