aboutsummaryrefslogtreecommitdiff
path: root/website/usageExamples/experimental/Tolerate_pre.jpage
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2019-12-11 13:01:32 +0100
committerGitHub <noreply@github.com>2019-12-11 13:01:32 +0100
commitd126ad64b3232565f1f0367efaa14249d3ed0aec (patch)
tree60a3ee26c6310433ce3be8cc9ab973e344525986 /website/usageExamples/experimental/Tolerate_pre.jpage
parentf8ecfafbcd30fdbb3b94a4b0bd1dd50fcf4e4b9e (diff)
parent1e617ccfb51855736e27cd618afc092a70832983 (diff)
downloadlombok-d126ad64b3232565f1f0367efaa14249d3ed0aec.tar.gz
lombok-d126ad64b3232565f1f0367efaa14249d3ed0aec.tar.bz2
lombok-d126ad64b3232565f1f0367efaa14249d3ed0aec.zip
Merge pull request #2251 from nejads/master
Add documentation for Tolerate
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);
+ }
+}