aboutsummaryrefslogtreecommitdiff
path: root/usage_examples
diff options
context:
space:
mode:
authorJan Rieke <rieke@subshell.com>2017-03-13 16:49:20 +0100
committerJan Rieke <rieke@subshell.com>2017-03-13 16:49:20 +0100
commit2346b15c8d2809b6efa9fc94f4f6cc56dcaa54b8 (patch)
tree238b9877ce1daa83b3e8d422eb4d2f7ab89f3864 /usage_examples
parentf51bbce3e396a0151bc0242d00e250f2bc720316 (diff)
parenta2c10c70fa8e2c8736464a5c3d445e2ca6e8a296 (diff)
downloadlombok-2346b15c8d2809b6efa9fc94f4f6cc56dcaa54b8.tar.gz
lombok-2346b15c8d2809b6efa9fc94f4f6cc56dcaa54b8.tar.bz2
lombok-2346b15c8d2809b6efa9fc94f4f6cc56dcaa54b8.zip
Merge remote-tracking branch 'upstream/master'
# Conflicts: # src/core/lombok/eclipse/handlers/HandleBuilder.java # src/core/lombok/eclipse/handlers/HandleConstructor.java # src/core/lombok/javac/handlers/HandleBuilder.java # src/core/lombok/javac/handlers/HandleConstructor.java
Diffstat (limited to 'usage_examples')
-rw-r--r--usage_examples/experimental/onXExample_pre.jpage6
1 files changed, 4 insertions, 2 deletions
diff --git a/usage_examples/experimental/onXExample_pre.jpage b/usage_examples/experimental/onXExample_pre.jpage
index f8fcb435..e54371ae 100644
--- a/usage_examples/experimental/onXExample_pre.jpage
+++ b/usage_examples/experimental/onXExample_pre.jpage
@@ -9,7 +9,9 @@ import javax.validation.constraints.Max;
@AllArgsConstructor(onConstructor=@__(@Inject))
public class OnXExample {
- @Getter(onMethod=@__({@Id, @Column(name="unique-id")}))
- @Setter(onParam=@__(@Max(10000)))
+// @Getter(onMethod=@__({@Id, @Column(name="unique-id")})) //JDK7
+// @Setter(onParam=@__(@Max(10000))) //JDK7
+ @Getter(onMethod_={@Id, @Column(name="unique-id")}) //JDK8
+ @Setter(onParam_=@Max(10000)) //JDK8
private long unid;
}