From e610552c6fa74d3273565496cd9138987ee68fc6 Mon Sep 17 00:00:00 2001 From: Jay Arthanareeswaran Date: Wed, 6 Mar 2019 12:03:46 +0530 Subject: Bug 545086 - [12] Refactor to reuse all code to remove '/' from path Change-Id: I81a2a21f4c342ecee730b8016fabaab9d2bd8587 Signed-off-by: Jay Arthanareeswaran --- .../src/org/eclipse/jdt/internal/compiler/apt/util/JrtFileSystem.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'org.eclipse.jdt.compiler.apt') 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); -- cgit v1.2.3