[FOray-commit] SF.net SVN: foray:[12518] trunk/foray
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2022-02-01 00:20:47
|
Revision: 12518
http://sourceforge.net/p/foray/code/12518
Author: victormote
Date: 2022-02-01 00:20:44 +0000 (Tue, 01 Feb 2022)
Log Message:
-----------
Conform to aXSL changes: Add methods to append varargs/arrays to sequences.
Modified Paths:
--------------
trunk/foray/foray-00-master/config/checkstyle/checkstyle-config.xml
trunk/foray/foray-common/src/main/java/org/foray/common/sequence/ByteArrayBuilder.java
trunk/foray/foray-common/src/main/java/org/foray/common/sequence/CharArrayBuilder.java
trunk/foray/foray-common/src/main/java/org/foray/common/sequence/IntArrayBuilder.java
trunk/foray/foray-common/src/main/java/org/foray/common/sequence/LongArrayBuilder.java
trunk/foray/foray-common/src/main/java/org/foray/common/sequence/ShortArrayBuilder.java
Modified: trunk/foray/foray-00-master/config/checkstyle/checkstyle-config.xml
===================================================================
--- trunk/foray/foray-00-master/config/checkstyle/checkstyle-config.xml 2022-01-31 21:13:57 UTC (rev 12517)
+++ trunk/foray/foray-00-master/config/checkstyle/checkstyle-config.xml 2022-02-01 00:20:44 UTC (rev 12518)
@@ -126,8 +126,7 @@
<property name="scope" value="private"/>
</module>
- <!-- Check the javadoc style. If there is a javadoc comment, it must be
- well-formed, even if it is private. -->
+ <!-- Check the javadoc style. If there is a javadoc comment, it must be well-formed, even if it is private. -->
<module name="JavadocStyle">
<property name="scope" value="private"/>
<property name="checkEmptyJavadoc" value="true"/>
Modified: trunk/foray/foray-common/src/main/java/org/foray/common/sequence/ByteArrayBuilder.java
===================================================================
--- trunk/foray/foray-common/src/main/java/org/foray/common/sequence/ByteArrayBuilder.java 2022-01-31 21:13:57 UTC (rev 12517)
+++ trunk/foray/foray-common/src/main/java/org/foray/common/sequence/ByteArrayBuilder.java 2022-02-01 00:20:44 UTC (rev 12518)
@@ -126,6 +126,7 @@
return this;
}
+ @Override
public ByteArrayBuilder append(final byte ... bytes) {
ensureCapacity(length() + bytes.length);
System.arraycopy(bytes, 0, this.backingArray, this.length, bytes.length);
Modified: trunk/foray/foray-common/src/main/java/org/foray/common/sequence/CharArrayBuilder.java
===================================================================
--- trunk/foray/foray-common/src/main/java/org/foray/common/sequence/CharArrayBuilder.java 2022-01-31 21:13:57 UTC (rev 12517)
+++ trunk/foray/foray-common/src/main/java/org/foray/common/sequence/CharArrayBuilder.java 2022-02-01 00:20:44 UTC (rev 12518)
@@ -294,6 +294,7 @@
return this;
}
+ @Override
public CharArrayBuilder append(final char ... chars) {
ensureCapacity(length() + chars.length);
System.arraycopy(chars, 0, this.backingArray, this.length, chars.length);
Modified: trunk/foray/foray-common/src/main/java/org/foray/common/sequence/IntArrayBuilder.java
===================================================================
--- trunk/foray/foray-common/src/main/java/org/foray/common/sequence/IntArrayBuilder.java 2022-01-31 21:13:57 UTC (rev 12517)
+++ trunk/foray/foray-common/src/main/java/org/foray/common/sequence/IntArrayBuilder.java 2022-02-01 00:20:44 UTC (rev 12518)
@@ -222,11 +222,7 @@
return this;
}
- /**
- * Append a varargs or int[] to this structure.
- * @param intToAppend The int to append.
- * @return This object.
- */
+ @Override
public IntArrayBuilder append(final int... intToAppend) {
ensureCapacity(this.length + intToAppend.length);
for (int index = 0; index < intToAppend.length; index ++) {
Modified: trunk/foray/foray-common/src/main/java/org/foray/common/sequence/LongArrayBuilder.java
===================================================================
--- trunk/foray/foray-common/src/main/java/org/foray/common/sequence/LongArrayBuilder.java 2022-01-31 21:13:57 UTC (rev 12517)
+++ trunk/foray/foray-common/src/main/java/org/foray/common/sequence/LongArrayBuilder.java 2022-02-01 00:20:44 UTC (rev 12518)
@@ -189,11 +189,7 @@
return this;
}
- /**
- * Append a varargs or long[] to this structure.
- * @param longsToAppend The longs to append.
- * @return This object.
- */
+ @Override
public LongArrayBuilder append(final long... longsToAppend) {
ensureCapacity(this.length + longsToAppend.length);
for (int index = 0; index < longsToAppend.length; index ++) {
Modified: trunk/foray/foray-common/src/main/java/org/foray/common/sequence/ShortArrayBuilder.java
===================================================================
--- trunk/foray/foray-common/src/main/java/org/foray/common/sequence/ShortArrayBuilder.java 2022-01-31 21:13:57 UTC (rev 12517)
+++ trunk/foray/foray-common/src/main/java/org/foray/common/sequence/ShortArrayBuilder.java 2022-02-01 00:20:44 UTC (rev 12518)
@@ -170,11 +170,7 @@
return this;
}
- /**
- * Append a varargs or short[] to this structure.
- * @param shortsToAppend The shorts to append.
- * @return This object.
- */
+ @Override
public ShortArrayBuilder append(final short... shortsToAppend) {
ensureCapacity(this.length + shortsToAppend.length);
for (int index = 0; index < shortsToAppend.length; index ++) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|