aboutsummaryrefslogtreecommitdiff
path: root/website/usageExamples/experimental/Tolerate_pre.jpage
diff options
context:
space:
mode:
Diffstat (limited to 'website/usageExamples/experimental/Tolerate_pre.jpage')
-rw-r--r--website/usageExamples/experimental/Tolerate_pre.jpage11
1 files changed, 11 insertions, 0 deletions
diff --git a/website/usageExamples/experimental/Tolerate_pre.jpage b/website/usageExamples/experimental/Tolerate_pre.jpage
new file mode 100644
index 00000000..5723df5c
--- /dev/null
+++ b/website/usageExamples/experimental/Tolerate_pre.jpage
@@ -0,0 +1,11 @@
+import lombok.experimental.Tolerate;
+
+public class TolerateExample {
+ @Setter
+ private Date date;
+
+ @Tolerate
+ public void setDate(String date) {
+ this.date = Date.valueOf(date);
+ }
+}