diff options
Diffstat (limited to 'plugins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/resource/impl/PlatformContentHandlerImpl.java')
-rw-r--r-- | plugins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/resource/impl/PlatformContentHandlerImpl.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/resource/impl/PlatformContentHandlerImpl.java b/plugins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/resource/impl/PlatformContentHandlerImpl.java index 875077e46..e683ffed7 100644 --- a/plugins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/resource/impl/PlatformContentHandlerImpl.java +++ b/plugins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/resource/impl/PlatformContentHandlerImpl.java @@ -88,7 +88,7 @@ public class PlatformContentHandlerImpl extends ContentHandlerImpl IContentDescription contentDescription; try { - if (uri.isPlatformResource() && PlatformResourceURIHandlerImpl.workspaceRoot != null) + if (uri.isPlatformResource() && PlatformResourceURIHandlerImpl.getWorkspaceRoot() != null) { contentDescription = PlatformResourceURIHandlerImpl.WorkbenchHelper.getContentDescription(uri.toPlatformString(true), options); } @@ -175,7 +175,7 @@ public class PlatformContentHandlerImpl extends ContentHandlerImpl @Override protected String getCharset(URI uri, InputStream inputStream, Map<?, ?> options, Map<Object, Object> context) throws IOException { - if (uri.isPlatformResource() && PlatformResourceURIHandlerImpl.workspaceRoot != null) + if (uri.isPlatformResource() && PlatformResourceURIHandlerImpl.getWorkspaceRoot() != null) { return PlatformResourceURIHandlerImpl.WorkbenchHelper.getCharset(uri.toPlatformString(true), options); } @@ -193,7 +193,7 @@ public class PlatformContentHandlerImpl extends ContentHandlerImpl @Override protected String getLineDelimiter(URI uri, InputStream inputStream, Map<?, ?> options, Map<Object, Object> context) throws IOException { - if (uri.isPlatformResource() && PlatformResourceURIHandlerImpl.workspaceRoot != null) + if (uri.isPlatformResource() && PlatformResourceURIHandlerImpl.getWorkspaceRoot() != null) { return PlatformResourceURIHandlerImpl.WorkbenchHelper.getLineDelimiter(uri.toPlatformString(true), options); } |