From dca89a512e78705a6fe93631ee1f28aee36cdb32 Mon Sep 17 00:00:00 2001 From: Jonas Herzig Date: Sun, 28 Apr 2019 15:10:46 +0200 Subject: Fix double-remapping of import declarations --- src/main/java/com/replaymod/gradle/remap/Transformer.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/main/java/com/replaymod/gradle/remap/Transformer.java b/src/main/java/com/replaymod/gradle/remap/Transformer.java index cfe5235..e930105 100644 --- a/src/main/java/com/replaymod/gradle/remap/Transformer.java +++ b/src/main/java/com/replaymod/gradle/remap/Transformer.java @@ -396,6 +396,11 @@ class Transformer { }); cu.accept(new ASTVisitor() { + @Override + public boolean visit(ImportDeclaration node) { + return false; + } + @Override public boolean visit(QualifiedName node) { String name = node.getFullyQualifiedName(); -- cgit