From 1e617ccfb51855736e27cd618afc092a70832983 Mon Sep 17 00:00:00 2001 From: Soroush Nejad Date: Mon, 7 Oct 2019 10:59:35 +0200 Subject: Add documentation for Tolerate --- website/usageExamples/experimental/Tolerate_pre.jpage | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 website/usageExamples/experimental/Tolerate_pre.jpage (limited to 'website/usageExamples/experimental/Tolerate_pre.jpage') 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); + } +} -- cgit