Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,6 @@ public boolean apply(EStructuralFeature feature)

private static final EPackage.Registry[] GLOBAL_REGISTRY_ARRAY = { EPackage.Registry.INSTANCE };

private static final XMLResource.URIHandler ABSOLUTE_URI_PRESERVING_URI_HANDLER = new AbsoluteURIPreservingURIHandler();

private static final boolean CONVERT_TO_RELATIVE_URIS = OMPlatform.INSTANCE.isProperty("org.eclipse.emf.cdo.common.model.EMFUtil.CONVERT_TO_RELATIVE_URIS");

private EMFUtil()
Expand Down Expand Up @@ -742,7 +740,7 @@ private static Map<String, Object> createResourceOptions(boolean zipped)

if (!CONVERT_TO_RELATIVE_URIS)
{
options.put(XMLResource.OPTION_URI_HANDLER, ABSOLUTE_URI_PRESERVING_URI_HANDLER);
options.put(XMLResource.OPTION_URI_HANDLER, new AbsoluteURIPreservingURIHandler());
}

if (zipped)
Expand Down