diff options
author | Roel Spilker <r.spilker@gmail.com> | 2017-03-21 14:23:46 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2017-03-22 21:55:01 +0100 |
commit | f4d7e0dfb63fcb145c5b84b7a7cd8bc09ca4eb3e (patch) | |
tree | 11acffc57917bf3e25a2db7063b0862e6b6541dd | |
parent | 0407894b65eaaf6a83eb5e5ee45249fa0db8b409 (diff) | |
download | lombok-f4d7e0dfb63fcb145c5b84b7a7cd8bc09ca4eb3e.tar.gz lombok-f4d7e0dfb63fcb145c5b84b7a7cd8bc09ca4eb3e.tar.bz2 lombok-f4d7e0dfb63fcb145c5b84b7a7cd8bc09ca4eb3e.zip |
update references to issue numbers
-rw-r--r-- | src/utils/lombok/javac/TreeMirrorMaker.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/utils/lombok/javac/TreeMirrorMaker.java b/src/utils/lombok/javac/TreeMirrorMaker.java index 918a3242..8cd8cffe 100644 --- a/src/utils/lombok/javac/TreeMirrorMaker.java +++ b/src/utils/lombok/javac/TreeMirrorMaker.java @@ -90,12 +90,13 @@ public class TreeMirrorMaker extends TreeCopier<Void> { return Collections.unmodifiableMap(originalToCopy); } - // Monitor issue 205 and issue 694 when making changes here. + // Monitor the following issues when making changes here. + // - https://github.com/rzwitserloot/lombok/issues/278 + // - https://github.com/rzwitserloot/lombok/issues/729 @Override public JCTree visitVariable(VariableTree node, Void p) { JCVariableDecl original = node instanceof JCVariableDecl ? (JCVariableDecl) node : null; JCVariableDecl copy = (JCVariableDecl) super.visitVariable(node, p); if (original == null) return copy; - copy.sym = original.sym; if (copy.sym != null) copy.type = original.type; if (copy.type != null) { @@ -114,7 +115,7 @@ public class TreeMirrorMaker extends TreeCopier<Void> { return copy; } - // Fix for NPE in HandleVal. See http://code.google.com/p/projectlombok/issues/detail?id=299 + // Fix for NPE in HandleVal. See https://github.com/rzwitserloot/lombok/issues/372 // This and visitVariable is rather hacky but we're working around evident bugs or at least inconsistencies in javac. @Override public JCTree visitLabeledStatement(LabeledStatementTree node, Void p) { return node.getStatement().accept(this, p); |