diff options
-rw-r--r-- | website/usageExamples/experimental/UtilityClassExample_post.jpage | 2 | ||||
-rw-r--r-- | website/usageExamples/experimental/UtilityClassExample_pre.jpage | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/website/usageExamples/experimental/UtilityClassExample_post.jpage b/website/usageExamples/experimental/UtilityClassExample_post.jpage index 70810230..ad6cf583 100644 --- a/website/usageExamples/experimental/UtilityClassExample_post.jpage +++ b/website/usageExamples/experimental/UtilityClassExample_post.jpage @@ -5,7 +5,7 @@ public final class UtilityClassExample { throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated"); } - public static void addSomething(int in) { + public static int addSomething(int in) { return in + CONSTANT; } } diff --git a/website/usageExamples/experimental/UtilityClassExample_pre.jpage b/website/usageExamples/experimental/UtilityClassExample_pre.jpage index 85731b81..3c33a7c6 100644 --- a/website/usageExamples/experimental/UtilityClassExample_pre.jpage +++ b/website/usageExamples/experimental/UtilityClassExample_pre.jpage @@ -4,7 +4,7 @@ import lombok.experimental.UtilityClass; public class UtilityClassExample { private final int CONSTANT = 5; - public void addSomething(int in) { + public int addSomething(int in) { return in + CONSTANT; } } |