aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2018-06-04 23:36:06 +0200
committerRoel Spilker <r.spilker@gmail.com>2018-06-04 23:36:45 +0200
commita74db7c10c61c7a18e8fed774cac1e0cde534009 (patch)
tree46106687a476be3a940efbfb27c98c8d5ef0912a /test/transform/resource/before
parentb8e85f5dc7044e9a4bd43c41786bdda2a38f50ac (diff)
downloadlombok-a74db7c10c61c7a18e8fed774cac1e0cde534009.tar.gz
lombok-a74db7c10c61c7a18e8fed774cac1e0cde534009.tar.bz2
lombok-a74db7c10c61c7a18e8fed774cac1e0cde534009.zip
Make `extraPrivate` opt-in instead of opt-out. Fixes #1708
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/DataConfiguration.java1
-rw-r--r--test/transform/resource/before/PrivateNoArgsConstructor.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/transform/resource/before/DataConfiguration.java b/test/transform/resource/before/DataConfiguration.java
index 8b9657f9..9e0bd420 100644
--- a/test/transform/resource/before/DataConfiguration.java
+++ b/test/transform/resource/before/DataConfiguration.java
@@ -1,6 +1,7 @@
//CONF: lombok.anyConstructor.suppressConstructorProperties = true
//CONF: lombok.toString.doNotUseGetters = true
//CONF: lombok.equalsAndHashCode.doNotUseGetters = true
+//CONF: lombok.noArgsConstructor.extraPrivate = true
@lombok.Data
class DataConfiguration {
final int x;
diff --git a/test/transform/resource/before/PrivateNoArgsConstructor.java b/test/transform/resource/before/PrivateNoArgsConstructor.java
index 911e430f..38f5aed0 100644
--- a/test/transform/resource/before/PrivateNoArgsConstructor.java
+++ b/test/transform/resource/before/PrivateNoArgsConstructor.java
@@ -1,3 +1,4 @@
+// CONF: lombok.noArgsConstructor.extraPrivate = true
// CONF: lombok.equalsAndHashCode.callSuper = call
public class PrivateNoArgsConstructor {
private static class Base {