Resolved a few checkstyle issues.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@400092 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Fredrik Westermarck 2006-05-05 15:23:31 +00:00
parent ea1f4106da
commit e8c5f9fbb6
4 changed files with 9 additions and 4 deletions

View File

@ -604,6 +604,14 @@ public static Class getClass(String className, boolean initialize) throws ClassN
* 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

View File

@ -215,6 +215,7 @@ public static Set availableLocaleSet() {
/**
* <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) {

View File

@ -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;

View File

@ -1241,7 +1241,6 @@ public StrBuilder deleteFirst(StrMatcher matcher) {
* @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) {