Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes for 'ant website' build target. Also fixing some errors in java…

…doc.
  • Loading branch information...
commit f0e90c418f385d36ba216f83525af37e93497ea6 1 parent 10b6166
@rzwitserloot authored
View
5 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}" />
View
4 src/core/lombok/core/TransformationsUtil.java
@@ -93,7 +93,7 @@ private static CharSequence removePrefix(CharSequence fieldName, String[] prefix
* 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 static String toGetterName(AnnotationValues<Accessors> accessors, CharSeq
* 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>
View
2  src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
@@ -1055,7 +1055,7 @@ public static MemberExistsResult fieldExists(String fieldName, EclipseNode node)
}
/**
- * 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);
View
0  usage_examples/AccessorsExample_post.jpage → ...examples/experimental/AccessorsExample_post.jpage
File renamed without changes
View
0  usage_examples/AccessorsExample_pre.jpage → ..._examples/experimental/AccessorsExample_pre.jpage
File renamed without changes
View
2  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">
Please sign in to comment.
Something went wrong with that request. Please try again.