Repository: logging-log4j2 Updated Branches: refs/heads/master 8f236d173 -> fb3f9c6d9
Update annotation processor to require Java 7. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/fb3f9c6d Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/fb3f9c6d Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/fb3f9c6d Branch: refs/heads/master Commit: fb3f9c6d988b87ed2cb24bdb35bbc9cac250cf11 Parents: 8f236d1 Author: Matt Sicker <[email protected]> Authored: Thu Dec 3 12:46:29 2015 -0600 Committer: Matt Sicker <[email protected]> Committed: Thu Dec 3 12:46:29 2015 -0600 ---------------------------------------------------------------------- .../log4j/core/config/plugins/processor/PluginProcessor.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/fb3f9c6d/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/processor/PluginProcessor.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/processor/PluginProcessor.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/processor/PluginProcessor.java index 2db7241..b0e7570 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/processor/PluginProcessor.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/processor/PluginProcessor.java @@ -25,7 +25,6 @@ import java.util.Collections; import java.util.Map; import java.util.Objects; import java.util.Set; - import javax.annotation.processing.AbstractProcessor; import javax.annotation.processing.RoundEnvironment; import javax.annotation.processing.SupportedAnnotationTypes; @@ -34,7 +33,7 @@ import javax.lang.model.element.Element; import javax.lang.model.element.ElementVisitor; import javax.lang.model.element.TypeElement; import javax.lang.model.util.Elements; -import javax.lang.model.util.SimpleElementVisitor6; +import javax.lang.model.util.SimpleElementVisitor7; import javax.tools.Diagnostic.Kind; import javax.tools.FileObject; import javax.tools.StandardLocation; @@ -116,7 +115,7 @@ public class PluginProcessor extends AbstractProcessor { /** * ElementVisitor to scan the Plugin annotation. */ - private static class PluginElementVisitor extends SimpleElementVisitor6<PluginEntry, Plugin> { + private static class PluginElementVisitor extends SimpleElementVisitor7<PluginEntry, Plugin> { private final Elements elements; @@ -141,7 +140,7 @@ public class PluginProcessor extends AbstractProcessor { /** * ElementVisitor to scan the PluginAliases annotation. */ - private static class PluginAliasesElementVisitor extends SimpleElementVisitor6<Collection<PluginEntry>, Plugin> { + private static class PluginAliasesElementVisitor extends SimpleElementVisitor7<Collection<PluginEntry>, Plugin> { private final Elements elements;
