From d8ff9ebf74eee2f6fd9adb72e66dac5b73f6a59a Mon Sep 17 00:00:00 2001 From: Daniel Shuy Date: Wed, 19 Sep 2018 16:17:01 +0800 Subject: Fix return type in UtilityClassExample_post.jpage --- website/usageExamples/experimental/UtilityClassExample_post.jpage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'website/usageExamples/experimental') 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; } } -- cgit From c8873967437ae904713dc8054a0216f4e9e5f352 Mon Sep 17 00:00:00 2001 From: Daniel Shuy Date: Wed, 19 Sep 2018 16:17:27 +0800 Subject: Fix return type in UtilityClassExample_pre.jpage --- website/usageExamples/experimental/UtilityClassExample_pre.jpage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'website/usageExamples/experimental') 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; } } -- cgit