diff options
author | Soroush Nejad <sardabir@gmail.com> | 2019-10-07 10:59:35 +0200 |
---|---|---|
committer | Soroush Nejad <sardabir@gmail.com> | 2019-10-07 10:59:35 +0200 |
commit | 1e617ccfb51855736e27cd618afc092a70832983 (patch) | |
tree | b6a82afa126ef5ef8ff2a230fdd6e2a9c7060a6c /website/usageExamples/experimental/Tolerate_pre.jpage | |
parent | 04f21a249dd2f582a27c16da67aebc4df3d2c383 (diff) | |
download | lombok-1e617ccfb51855736e27cd618afc092a70832983.tar.gz lombok-1e617ccfb51855736e27cd618afc092a70832983.tar.bz2 lombok-1e617ccfb51855736e27cd618afc092a70832983.zip |
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); + } +} |