mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-18 16:14:08 +00:00
[tests] fixed a test that fails due to, of all things, a javac bug.
This commit is contained in:
2 files changed
+5
-4
No files matched your search
@@ -113,10 +113,10 @@ public class LombokTestSource {
|
||||
return formatPreferences;
|
||||
}
|
||||
|
||||
private static final Pattern VERSION_STYLE_1 = Pattern.compile("^(\\d+)$");
|
||||
private static final Pattern VERSION_STYLE_2 = Pattern.compile("^\\:(\\d+)$");
|
||||
private static final Pattern VERSION_STYLE_3 = Pattern.compile("^(\\d+):$");
|
||||
private static final Pattern VERSION_STYLE_4 = Pattern.compile("^(\\d+):(\\d+)$");
|
||||
private static final Pattern VERSION_STYLE_1 = Pattern.compile("^(\\d+)(?:\\s+.*)?$");
|
||||
private static final Pattern VERSION_STYLE_2 = Pattern.compile("^\\:(\\d+)(?:\\s+.*)?$");
|
||||
private static final Pattern VERSION_STYLE_3 = Pattern.compile("^(\\d+):(?:\\s+.*)?$");
|
||||
private static final Pattern VERSION_STYLE_4 = Pattern.compile("^(\\d+):(\\d+)(?:\\s+.*)?$");
|
||||
|
||||
private int[] parseVersionLimit(String spec) {
|
||||
/* Single version: '5' */ {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// version 9: the 'this' param option exists in java8, but is bugged, in that annotations are not allowed on them, even without a @Target. The only purpose of the this param is annotations, so, boy, isn't that a punch in the face?
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
Reference in new issue
Block a user