aboutsummaryrefslogtreecommitdiff
path: root/test/core/src/lombok/LombokTestSource.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-03-05 07:55:40 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-03-05 08:06:46 +0100
commitf8c16ed8ac69d0106a845ca96573557700b6f39d (patch)
treed4170a71775dbeb13e58aa87585dabc9ab9f6c4f /test/core/src/lombok/LombokTestSource.java
parenteebc5f4e851a4ce6f2775ebaf6e74794480da0b9 (diff)
downloadlombok-f8c16ed8ac69d0106a845ca96573557700b6f39d.tar.gz
lombok-f8c16ed8ac69d0106a845ca96573557700b6f39d.tar.bz2
lombok-f8c16ed8ac69d0106a845ca96573557700b6f39d.zip
[tests] fix tests on java6/7
Diffstat (limited to 'test/core/src/lombok/LombokTestSource.java')
-rw-r--r--test/core/src/lombok/LombokTestSource.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/core/src/lombok/LombokTestSource.java b/test/core/src/lombok/LombokTestSource.java
index 1498e635..0326dee9 100644
--- a/test/core/src/lombok/LombokTestSource.java
+++ b/test/core/src/lombok/LombokTestSource.java
@@ -374,4 +374,8 @@ public class LombokTestSource {
public int minVersion() {
return Math.max(6, versionLowerLimit);
}
+
+ public int maxVersion() {
+ return versionUpperLimit;
+ }
}