aboutsummaryrefslogtreecommitdiff
path: root/usage_examples
diff options
context:
space:
mode:
Diffstat (limited to 'usage_examples')
-rw-r--r--usage_examples/experimental/onXExample_post.jpage (renamed from usage_examples/onXExample_post.jpage)0
-rw-r--r--usage_examples/experimental/onXExample_pre.jpage (renamed from usage_examples/onXExample_pre.jpage)6
2 files changed, 3 insertions, 3 deletions
diff --git a/usage_examples/onXExample_post.jpage b/usage_examples/experimental/onXExample_post.jpage
index 1be94f2a..1be94f2a 100644
--- a/usage_examples/onXExample_post.jpage
+++ b/usage_examples/experimental/onXExample_post.jpage
diff --git a/usage_examples/onXExample_pre.jpage b/usage_examples/experimental/onXExample_pre.jpage
index 2cc9c581..fa03e2cd 100644
--- a/usage_examples/onXExample_pre.jpage
+++ b/usage_examples/experimental/onXExample_pre.jpage
@@ -7,9 +7,9 @@ import javax.persistence.Id;
import javax.persistence.Column;
import javax.validation.constraints.Max;
-@AllArgsConstructor(onConstructor=@Inject)
+@AllArgsConstructor(onConstructor=@_(@Inject))
public class OnXExample {
- @Getter(onMethod={@Id, @Column(name="unique-id"})
- @Setter(onParam=@Max(10000))
+ @Getter(onMethod=@_({@Id, @Column(name="unique-id")}))
+ @Setter(onParam=@_(@Max(10000)))
private long unid;
}