From: Fredrik Tolf Date: Wed, 24 Jul 2013 20:04:15 +0000 (+0200) Subject: Indicate support for the same source version that the compiler uses. X-Git-Url: http://dolda2000.com/gitweb/?p=jglob.git;a=commitdiff_plain;h=1d78ecd1228a5f1bc8e662d39babb060a25d71a3 Indicate support for the same source version that the compiler uses. There's no obvious way to break this anyway. --- diff --git a/src/dolda/jglob/Collector.java b/src/dolda/jglob/Collector.java index 25b7ab7..0351f75 100644 --- a/src/dolda/jglob/Collector.java +++ b/src/dolda/jglob/Collector.java @@ -9,7 +9,6 @@ import javax.lang.model.element.*; import javax.lang.model.util.*; @SupportedAnnotationTypes({"*"}) -@SupportedSourceVersion(SourceVersion.RELEASE_5) public class Collector extends AbstractProcessor { private ProcessingEnvironment cfg; private Elements eu; @@ -105,4 +104,8 @@ public class Collector extends AbstractProcessor { } return(false); } + + public SourceVersion getSupportedSourceVersion() { + return(SourceVersion.latest()); + } }