commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fred...@apache.org
Subject svn commit: r400092 - in /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang: ClassUtils.java LocaleUtils.java builder/ReflectionToStringBuilder.java text/StrBuilder.java
Date Fri, 05 May 2006 15:23:34 GMT
Author: fredrik
Date: Fri May  5 08:23:31 2006
New Revision: 400092

URL: http://svn.apache.org/viewcvs?rev=400092&view=rev
Log:
Resolved a few checkstyle issues.

Modified:
    jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ClassUtils.java
    jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/LocaleUtils.java
    jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/ReflectionToStringBuilder.java
    jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java

Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ClassUtils.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ClassUtils.java?rev=400092&r1=400091&r2=400092&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ClassUtils.java (original)
+++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ClassUtils.java Fri
May  5 08:23:31 2006
@@ -604,6 +604,14 @@
      *  Method method = ClassUtils.getPublicMethod(set.getClass(), "isEmpty",  new Class[0]);
      *  Object result = method.invoke(set, new Object[]);</pre></code>
      * </p>
+     *
+     * @param cls the class to check
+     * @param methodName the name of the method
+     * @param parameterTypes the list of parameters
+     * @return the method
+     * @throws SecurityException If a a security violation occured
+     * @throws NoSuchMethodException If the method is not found in the given class
+     *  or if the metothod doen't conform with the requirements
      */
     public static Method getPublicMethod(Class cls, String methodName, Class parameterTypes[])

         throws SecurityException, NoSuchMethodException 

Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/LocaleUtils.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/LocaleUtils.java?rev=400092&r1=400091&r2=400092&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/LocaleUtils.java (original)
+++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/LocaleUtils.java Fri
May  5 08:23:31 2006
@@ -215,6 +215,7 @@
     /**
      * <p>Checks if the locale specified is in the list of available locales.</p>
      *
+     * @param locale the Locale object to check if it is available
      * @return true if the locale is a known locale
      */
     public static boolean isAvailableLocale(Locale locale) {

Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/ReflectionToStringBuilder.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/ReflectionToStringBuilder.java?rev=400092&r1=400091&r2=400092&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/ReflectionToStringBuilder.java
(original)
+++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/ReflectionToStringBuilder.java
Fri May  5 08:23:31 2006
@@ -23,10 +23,7 @@
 import java.util.Arrays;
 import java.util.Collection;
 import java.util.HashSet;
-import java.util.Iterator;
-import java.util.List;
 import java.util.Set;
-
 import org.apache.commons.lang.ArrayUtils;
 import org.apache.commons.lang.ClassUtils;
 

Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java?rev=400092&r1=400091&r2=400092&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java
(original)
+++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java
Fri May  5 08:23:31 2006
@@ -1241,7 +1241,6 @@
      * @param removeLen  the length to remove (endIndex - startIndex), must be valid
      * @param insertStr  the string to replace with, null means delete range
      * @param insertLen  the length of the insert string, must be valid
-     * @param len  the length, must be valid
      * @throws IndexOutOfBoundsException if any index is invalid
      */
     private void replaceImpl(int startIndex, int endIndex, int removeLen, String insertStr,
int insertLen) {



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message