log("Both '" + previous.getContributor().getName() + "' and '" + element.getContributor().getName() + " register a package registry implementation");
log("Both '" + previous.getContributor().getName() + "' and '" + element.getContributor().getName() + "' register a package registry implementation");
        protected boolean readElement(IConfigurationElement element)        {          if (element.getName().equals("registry"))          {            String implementationClass = element.getAttribute("class");            if (implementationClass == null)            {              logMissingAttribute(element, "class");            }            else            {              if (defaultRegistryImplementation != null)              {                if (previous != null)                {                  log("Both '" + previous.getContributor().getName() + "' and '" + element.getContributor().getName() + " register a package registry implementation");                }                if (defaultRegistryImplementation instanceof EPackageRegistryImpl.Delegator)                {                  return false;                }              }              try              {                defaultRegistryImplementation = (EPackage.Registry)element.createExecutableExtension("class");                previous = element;              }              catch (CoreException exception)              {                log(exception);              }              return true;            }          }          return false;        }