diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2019-12-11 13:01:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-11 13:01:32 +0100 |
commit | d126ad64b3232565f1f0367efaa14249d3ed0aec (patch) | |
tree | 60a3ee26c6310433ce3be8cc9ab973e344525986 /website/usageExamples/experimental/Tolerate_pre.jpage | |
parent | f8ecfafbcd30fdbb3b94a4b0bd1dd50fcf4e4b9e (diff) | |
parent | 1e617ccfb51855736e27cd618afc092a70832983 (diff) | |
download | lombok-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.jpage | 11 |
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); + } +} |