You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2013/12/20 15:08:03 UTC
svn commit: r1552679 - in
/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3:
ArrayUtils.java CharSetUtils.java
Author: britter
Date: Fri Dec 20 14:08:03 2013
New Revision: 1552679
URL: http://svn.apache.org/r1552679
Log:
Add the last missing since tags for upcoming release 3.2
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ArrayUtils.java
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/CharSetUtils.java
Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ArrayUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ArrayUtils.java?rev=1552679&r1=1552678&r2=1552679&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ArrayUtils.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ArrayUtils.java Fri Dec 20 14:08:03 2013
@@ -1567,6 +1567,7 @@ public class ArrayUtils {
* @param endIndexExclusive
* elements up to endIndex-1 are reversed in the array. Undervalue (< start index) results in no
* change. Overvalue (>array.length) is demoted to array length.
+ * @since 3.2
*/
public static void reverse(final boolean[] array, int startIndexInclusive, int endIndexExclusive) {
if (array == null) {
@@ -1601,6 +1602,7 @@ public class ArrayUtils {
* @param endIndexExclusive
* elements up to endIndex-1 are reversed in the array. Undervalue (< start index) results in no
* change. Overvalue (>array.length) is demoted to array length.
+ * @since 3.2
*/
public static void reverse(final byte[] array, int startIndexInclusive, int endIndexExclusive) {
if (array == null) {
@@ -1635,6 +1637,7 @@ public class ArrayUtils {
* @param endIndexExclusive
* elements up to endIndex-1 are reversed in the array. Undervalue (< start index) results in no
* change. Overvalue (>array.length) is demoted to array length.
+ * @since 3.2
*/
public static void reverse(final char[] array, int startIndexInclusive, int endIndexExclusive) {
if (array == null) {
@@ -1669,6 +1672,7 @@ public class ArrayUtils {
* @param endIndexExclusive
* elements up to endIndex-1 are reversed in the array. Undervalue (< start index) results in no
* change. Overvalue (>array.length) is demoted to array length.
+ * @since 3.2
*/
public static void reverse(final double[] array, int startIndexInclusive, int endIndexExclusive) {
if (array == null) {
@@ -1703,6 +1707,7 @@ public class ArrayUtils {
* @param endIndexExclusive
* elements up to endIndex-1 are reversed in the array. Undervalue (< start index) results in no
* change. Overvalue (>array.length) is demoted to array length.
+ * @since 3.2
*/
public static void reverse(final float[] array, int startIndexInclusive, int endIndexExclusive) {
if (array == null) {
@@ -1737,6 +1742,7 @@ public class ArrayUtils {
* @param endIndexExclusive
* elements up to endIndex-1 are reversed in the array. Undervalue (< start index) results in no
* change. Overvalue (>array.length) is demoted to array length.
+ * @since 3.2
*/
public static void reverse(final int[] array, int startIndexInclusive, int endIndexExclusive) {
if (array == null) {
@@ -1771,6 +1777,7 @@ public class ArrayUtils {
* @param endIndexExclusive
* elements up to endIndex-1 are reversed in the array. Undervalue (< start index) results in no
* change. Overvalue (>array.length) is demoted to array length.
+ * @since 3.2
*/
public static void reverse(final long[] array, int startIndexInclusive, int endIndexExclusive) {
if (array == null) {
@@ -1805,6 +1812,7 @@ public class ArrayUtils {
* @param endIndexExclusive
* elements up to endIndex-1 are reversed in the array. Undervalue (< start index) results in no
* change. Overvalue (>array.length) is demoted to array length.
+ * @since 3.2
*/
public static void reverse(final Object[] array, int startIndexInclusive, int endIndexExclusive) {
if (array == null) {
@@ -1839,6 +1847,7 @@ public class ArrayUtils {
* @param endIndexExclusive
* elements up to endIndex-1 are reversed in the array. Undervalue (< start index) results in no
* change. Overvalue (>array.length) is demoted to array length.
+ * @since 3.2
*/
public static void reverse(final short[] array, int startIndexInclusive, int endIndexExclusive) {
if (array == null) {
Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/CharSetUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/CharSetUtils.java?rev=1552679&r1=1552678&r2=1552679&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/CharSetUtils.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/CharSetUtils.java Fri Dec 20 14:08:03 2013
@@ -102,6 +102,7 @@ public class CharSetUtils {
* @param str String to look for characters in, may be null
* @param set String[] set of characters to identify, may be null
* @return whether or not the characters in the set are in the primary string
+ * @since 3.2
*/
public static boolean containsAny(final String str, final String... set) {
if (StringUtils.isEmpty(str) || deepEmpty(set)) {