aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildScripts/website.ant.xml6
-rw-r--r--usage_examples/experimental/ExtensionMethodExample_post.jpage3
-rw-r--r--usage_examples/experimental/ExtensionMethodExample_pre.jpage3
-rw-r--r--usage_examples/experimental/FieldDefaultsExample_pre.jpage2
4 files changed, 8 insertions, 6 deletions
diff --git a/buildScripts/website.ant.xml b/buildScripts/website.ant.xml
index 12cae011..c5bddfec 100644
--- a/buildScripts/website.ant.xml
+++ b/buildScripts/website.ant.xml
@@ -152,13 +152,13 @@ such as converting the changelog into HTML, and creating javadoc.
<param name="transformationName" value="experimental/ExtensionMethod" />
</antcall>
<antcall target="-integrateSnippet">
- <param name="transformationName" value="experimental/FieldDefaultsExample" />
+ <param name="transformationName" value="experimental/FieldDefaults" />
</antcall>
<antcall target="-integrateSnippet">
- <param name="transformationName" value="experimental/WitherExample" />
+ <param name="transformationName" value="experimental/Wither" />
</antcall>
<antcall target="-integrateSnippet">
- <param name="transformationName" value="experimental/ValueExample" />
+ <param name="transformationName" value="experimental/Value" />
</antcall>
</target>
diff --git a/usage_examples/experimental/ExtensionMethodExample_post.jpage b/usage_examples/experimental/ExtensionMethodExample_post.jpage
index 72a838bd..de46d776 100644
--- a/usage_examples/experimental/ExtensionMethodExample_post.jpage
+++ b/usage_examples/experimental/ExtensionMethodExample_post.jpage
@@ -15,6 +15,7 @@ class Extensions {
public static String toTitleCase(String in) {
if (in.isEmpty()) return in;
- return "" + Character.toTitleCase(in.charAt(0)) + in.substring(1).toLowerCase();
+ return "" + Character.toTitleCase(in.charAt(0)) +
+ in.substring(1).toLowerCase();
}
}
diff --git a/usage_examples/experimental/ExtensionMethodExample_pre.jpage b/usage_examples/experimental/ExtensionMethodExample_pre.jpage
index 26d0ee38..b3b9f1fa 100644
--- a/usage_examples/experimental/ExtensionMethodExample_pre.jpage
+++ b/usage_examples/experimental/ExtensionMethodExample_pre.jpage
@@ -18,6 +18,7 @@ class Extensions {
public static String toTitleCase(String in) {
if (in.isEmpty()) return in;
- return "" + Character.toTitleCase(in.charAt(0)) + in.substring(1).toLowerCase();
+ return "" + Character.toTitleCase(in.charAt(0)) +
+ in.substring(1).toLowerCase();
}
}
diff --git a/usage_examples/experimental/FieldDefaultsExample_pre.jpage b/usage_examples/experimental/FieldDefaultsExample_pre.jpage
index a0a38f7a..c8335832 100644
--- a/usage_examples/experimental/FieldDefaultsExample_pre.jpage
+++ b/usage_examples/experimental/FieldDefaultsExample_pre.jpage
@@ -3,7 +3,7 @@ import lombok.experimental.FieldDefaults;
import lombok.experimental.NonFinal;
import lombok.experimental.PackagePrivate;
-@FieldDefaults(makeFinal = true, level=AccessLevel.PRIVATE)
+@FieldDefaults(makeFinal=true, level=AccessLevel.PRIVATE)
public class FieldDefaultsExample {
public final int a;
int b;