Dolda2000 GitWeb
/
jglob.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c065c6
)
Indicate support for the same source version that the compiler uses.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 24 Jul 2013 20:04:15 +0000
(22:04 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 24 Jul 2013 20:04:15 +0000
(22:04 +0200)
There's no obvious way to break this anyway.
src/dolda/jglob/Collector.java
patch
|
blob
|
blame
|
history
diff --git
a/src/dolda/jglob/Collector.java
b/src/dolda/jglob/Collector.java
index
25b7ab7
..
0351f75
100644
(file)
--- 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());
+ }
}