Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Grunberg2017-06-09 13:10:40 -0400
committerJeff Johnston2017-06-12 14:37:46 -0400
commitf829a565dcda026321ad115ded859ed81af2422d (patch)
treec8bc9c168dd7d6f4bcab854e65246951b65db61f
parentf59adab6effba386f1bfb492a9a1fb041512f2ad (diff)
downloadorg.eclipse.linuxtools-f829a565dcda026321ad115ded859ed81af2422d.tar.gz
org.eclipse.linuxtools-f829a565dcda026321ad115ded859ed81af2422d.tar.xz
org.eclipse.linuxtools-f829a565dcda026321ad115ded859ed81af2422d.zip
Bug 518079: Fix InvalidPathException on Windows when saving Dockerfile.
Change-Id: Idb8256d86ec5e5910eb180b7f8611cbd04089be0 Reviewed-on: https://git.eclipse.org/r/99040 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
-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