aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorJonas Herzig <me@johni0702.de>2019-04-28 15:10:46 +0200
committerJonas Herzig <me@johni0702.de>2019-04-29 19:39:47 +0200
commitdca89a512e78705a6fe93631ee1f28aee36cdb32 (patch)
tree30cf5c1de7d88bd9a0bde58a982185a825b94072 /src/main
parent3977ceb2518050b8e748ca30f02e2116dee2afa8 (diff)
downloadRemap-dca89a512e78705a6fe93631ee1f28aee36cdb32.tar.gz
Remap-dca89a512e78705a6fe93631ee1f28aee36cdb32.tar.bz2
Remap-dca89a512e78705a6fe93631ee1f28aee36cdb32.zip
Fix double-remapping of import declarations
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/replaymod/gradle/remap/Transformer.java5
1 files changed, 5 insertions, 0 deletions
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
@@ -397,6 +397,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();
Mapping mapping = map.get(name);