Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--containers/org.eclipse.linuxtools.docker.editor/src/org/eclipse/linuxtools/internal/docker/editor/DockerDocumentProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/containers/org.eclipse.linuxtools.docker.editor/src/org/eclipse/linuxtools/internal/docker/editor/DockerDocumentProvider.java b/containers/org.eclipse.linuxtools.docker.editor/src/org/eclipse/linuxtools/internal/docker/editor/DockerDocumentProvider.java
index cc953bd27a..e57b391179 100644
--- a/containers/org.eclipse.linuxtools.docker.editor/src/org/eclipse/linuxtools/internal/docker/editor/DockerDocumentProvider.java
+++ b/containers/org.eclipse.linuxtools.docker.editor/src/org/eclipse/linuxtools/internal/docker/editor/DockerDocumentProvider.java
@@ -110,7 +110,7 @@ public class DockerDocumentProvider extends FileDocumentProvider {
String encoding = null;
ElementInfo info = getElementInfo(element);
- Path filePath = Paths.get(((FileStoreEditorInput) element).getURI().getPath());
+ Path filePath = Paths.get(((FileStoreEditorInput) element).getURI());
encoding = getEncoding(element);

Back to the top