diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-03-27 00:35:34 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-03-27 00:35:34 +0200 |
commit | f0e90c418f385d36ba216f83525af37e93497ea6 (patch) | |
tree | e3ce38b632bf940e55ae897b3029116ccb52453f | |
parent | 10b6166ff33ee633fca93d74d87965ada5df4269 (diff) | |
download | lombok-f0e90c418f385d36ba216f83525af37e93497ea6.tar.gz lombok-f0e90c418f385d36ba216f83525af37e93497ea6.tar.bz2 lombok-f0e90c418f385d36ba216f83525af37e93497ea6.zip |
fixes for 'ant website' build target. Also fixing some errors in javadoc.
-rw-r--r-- | buildScripts/website.ant.xml | 5 | ||||
-rw-r--r-- | src/core/lombok/core/TransformationsUtil.java | 4 | ||||
-rw-r--r-- | src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java | 2 | ||||
-rw-r--r-- | usage_examples/experimental/AccessorsExample_post.jpage (renamed from usage_examples/AccessorsExample_post.jpage) | 0 | ||||
-rw-r--r-- | usage_examples/experimental/AccessorsExample_pre.jpage (renamed from usage_examples/AccessorsExample_pre.jpage) | 0 | ||||
-rw-r--r-- | website/features/experimental/Accessors.html | 2 |
6 files changed, 8 insertions, 5 deletions
diff --git a/buildScripts/website.ant.xml b/buildScripts/website.ant.xml index f949efcf..8397185a 100644 --- a/buildScripts/website.ant.xml +++ b/buildScripts/website.ant.xml @@ -145,6 +145,9 @@ such as converting the changelog into HTML, and creating javadoc. <antcall target="-integrateSnippet"> <param name="transformationName" value="Delegate" /> </antcall> + <antcall target="-integrateSnippet"> + <param name="transformationName" value="experimental/Accessors" /> + </antcall> </target> <target name="-website-dist"> @@ -199,7 +202,7 @@ such as converting the changelog into HTML, and creating javadoc. </filterchain> </loadfile> <delete dir="build/temp" quiet="true" /> - <copy file="${htmlfile}" todir="build/website/features" overwrite="true"> + <copy file="${htmlfile}" tofile="build/website/features/${transformationName}.html" overwrite="true"> <filterchain> <replacetokens> <token key="HTML_PRE" value="${pre}" /> diff --git a/src/core/lombok/core/TransformationsUtil.java b/src/core/lombok/core/TransformationsUtil.java index 60d9bab0..e94558f9 100644 --- a/src/core/lombok/core/TransformationsUtil.java +++ b/src/core/lombok/core/TransformationsUtil.java @@ -93,7 +93,7 @@ public class TransformationsUtil { * Strategy: * <ul> * <li>Reduce the field's name to its base name by stripping off any prefix (from {@code Accessors}). If the field name does not fit - * the prefix list, this method immediately returns {@null}.</li> + * the prefix list, this method immediately returns {@code null}.</li> * <li>If {@code Accessors} has {@code fluent=true}, then return the basename.</li> * <li>Pick a prefix. 'get' normally, but 'is' if {@code isBoolean} is true.</li> * <li>Only if {@code isBoolean} is true: Check if the field starts with {@code is} followed by a non-lowercase character. If so, return the field name verbatim.</li> @@ -130,7 +130,7 @@ public class TransformationsUtil { * Strategy: * <ul> * <li>Reduce the field's name to its base name by stripping off any prefix (from {@code Accessors}). If the field name does not fit - * the prefix list, this method immediately returns {@null}.</li> + * the prefix list, this method immediately returns {@code null}.</li> * <li>If {@code Accessors} has {@code fluent=true}, then return the basename.</li> * <li>Only if {@code isBoolean} is true: Check if the field starts with {@code is} followed by a non-lowercase character. * If so, replace {@code is} with {@code set} and return that.</li> diff --git a/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java b/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java index a056c396..8b01f453 100644 --- a/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java +++ b/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java @@ -1055,7 +1055,7 @@ public class EclipseHandlerUtil { } /** - * Wrapper for {@link #methodExists(String, EclipseNode, boolean)} with {@code caseSensitive} = {@code true}. + * Wrapper for {@link #methodExists(String, EclipseNode, boolean, int)} with {@code caseSensitive} = {@code true}. */ public static MemberExistsResult methodExists(String methodName, EclipseNode node, int params) { return methodExists(methodName, node, true, params); diff --git a/usage_examples/AccessorsExample_post.jpage b/usage_examples/experimental/AccessorsExample_post.jpage index ae5a39db..ae5a39db 100644 --- a/usage_examples/AccessorsExample_post.jpage +++ b/usage_examples/experimental/AccessorsExample_post.jpage diff --git a/usage_examples/AccessorsExample_pre.jpage b/usage_examples/experimental/AccessorsExample_pre.jpage index ef063daa..ef063daa 100644 --- a/usage_examples/AccessorsExample_pre.jpage +++ b/usage_examples/experimental/AccessorsExample_pre.jpage diff --git a/website/features/experimental/Accessors.html b/website/features/experimental/Accessors.html index bbcd80bb..65b3c3b6 100644 --- a/website/features/experimental/Accessors.html +++ b/website/features/experimental/Accessors.html @@ -15,7 +15,7 @@ <div class="since"> <h3>Since</h3> <p> - @Accessors was introduced as experimental feature in lombok v0.10.10. + @Accessors was introduced as experimental feature in lombok v0.11.0. </p> </div> <div class="experimental"> |