Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Arthanareeswaran2019-03-06 01:33:46 -0500
committerJay Arthanareeswaran2019-03-06 04:43:37 -0500
commite610552c6fa74d3273565496cd9138987ee68fc6 (patch)
tree71c232be0b29b56d0b65b29e3953082542d8fef4 /org.eclipse.jdt.compiler.apt
parent8b28c9c5e54c8a5ba7074f2ffd5d972e9f2a963e (diff)
downloadeclipse.jdt.core-e610552c6fa74d3273565496cd9138987ee68fc6.tar.gz
eclipse.jdt.core-e610552c6fa74d3273565496cd9138987ee68fc6.tar.xz
eclipse.jdt.core-e610552c6fa74d3273565496cd9138987ee68fc6.zip
Bug 545086 - [12] Refactor to reuse all code to remove '/' from pathY20190306-2200P20190306-0525
Change-Id: I81a2a21f4c342ecee730b8016fabaab9d2bd8587 Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
Diffstat (limited to 'org.eclipse.jdt.compiler.apt')
-rw-r--r--org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/util/JrtFileSystem.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/util/JrtFileSystem.java b/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/util/JrtFileSystem.java
index c54b616aec..a34fbbf62e 100644
--- a/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/util/JrtFileSystem.java
+++ b/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/util/JrtFileSystem.java
@@ -92,8 +92,8 @@ public class JrtFileSystem extends Archive {
}
@Override
- public FileVisitResult visitModule(Path mod) throws IOException {
- JrtFileSystem.this.modulePathMap.put(mod.getFileName().toString(), mod);
+ public FileVisitResult visitModule(Path path, String name) throws IOException {
+ JrtFileSystem.this.modulePathMap.put(name, path);
return FileVisitResult.CONTINUE;
}
}, JRTUtil.NOTIFY_MODULES);

Back to the top