}
String modelPath = NSPathUtilities.stringByDeletingLastPathComponent(indexPath);
String modelName = (NSPathUtilities.stringByDeletingPathExtension(NSPathUtilities.lastPathComponent(modelPath)));
EOModel eomodel = modelNamed(modelName);
if (eomodel == null) {
URL url = nsbundle.pathURLForResourcePath(modelPath);
modelNameURLDictionary.setObjectForKey(url, modelName);
modelNames.addObject(modelName);
}
else if (NSLog.debugLoggingAllowedForLevelAndGroups(1, 32768L)) {
NSLog.debug.appendln("Ignoring model at path \"" + modelPath + "\" because the model group " + this + " already contains the model from the path \"" + eomodel.pathURL() + "\"");