From d713dab0c36889846a7445bf965b567e9b9a7b9b Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 12 Dec 2011 21:18:24 +0100 Subject: Renamed Comment to CommentInfo. --- src/utils/lombok/javac/java7/CommentCollectingParserFactory.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/utils/lombok/javac/java7/CommentCollectingParserFactory.java') diff --git a/src/utils/lombok/javac/java7/CommentCollectingParserFactory.java b/src/utils/lombok/javac/java7/CommentCollectingParserFactory.java index 7d8c9537..e361a5bd 100644 --- a/src/utils/lombok/javac/java7/CommentCollectingParserFactory.java +++ b/src/utils/lombok/javac/java7/CommentCollectingParserFactory.java @@ -4,7 +4,7 @@ import java.lang.reflect.Field; import java.util.List; import java.util.Map; -import lombok.javac.Comment; +import lombok.javac.CommentInfo; import com.sun.tools.javac.main.JavaCompiler; import com.sun.tools.javac.parser.Lexer; @@ -15,14 +15,14 @@ import com.sun.tools.javac.tree.JCTree.JCCompilationUnit; import com.sun.tools.javac.util.Context; public class CommentCollectingParserFactory extends ParserFactory { - private final Map> commentsMap; + private final Map> commentsMap; private final Context context; static Context.Key key() { return parserFactoryKey; } - protected CommentCollectingParserFactory(Context context, Map> commentsMap) { + protected CommentCollectingParserFactory(Context context, Map> commentsMap) { super(context); this.context = context; this.commentsMap = commentsMap; @@ -38,7 +38,7 @@ public class CommentCollectingParserFactory extends ParserFactory { //Either way this will work out. } - public static void setInCompiler(JavaCompiler compiler, Context context, Map> commentsMap) { + public static void setInCompiler(JavaCompiler compiler, Context context, Map> commentsMap) { context.put(CommentCollectingParserFactory.key(), (ParserFactory)null); Field field; try { -- cgit