remove dbg stdout
This commit is contained in:
parent
47ea5135d3
commit
021aba65aa
|
@ -28,11 +28,9 @@ public class MojMapPatcher {
|
|||
@Override
|
||||
public FileVisitResult visitFile(Path path, BasicFileAttributes basicFileAttributes) throws IOException {
|
||||
|
||||
System.out.println(path);
|
||||
if (path.getFileName().toString().endsWith(".class")) {
|
||||
String className = path.getFileName().toString().substring(0, path.getFileName().toString().lastIndexOf("."));
|
||||
Path result = outFs.getPath(path.toString()).resolveSibling(data.classes().getOrDefault(className, className)+".class");
|
||||
System.out.println("remapping: "+path);
|
||||
Path newClass = result.toAbsolutePath();
|
||||
byte[] bytes = Files.readAllBytes(path);
|
||||
ClassReader reader = new ClassReader(bytes);
|
||||
|
|
Loading…
Reference in a new issue