Resolve unused imports

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1531431 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2013-10-11 21:41:37 +00:00
parent 965096e21c
commit 877438dd76
2 changed files with 3 additions and 5 deletions

View File

@ -16,7 +16,6 @@
*/
package org.apache.commons.lang3.reflect;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Modifier;
@ -37,7 +36,7 @@ import org.apache.commons.lang3.Validate;
* invoked.</p>
*
* <p>{@link ConstructorUtils} contains a workaround for this situation: it
* will attempt to call {@link AccessibleObject#setAccessible(boolean)} on this constructor. If this
* will attempt to call {@link java.lang.reflect.AccessibleObject#setAccessible(boolean)} on this constructor. If this
* call succeeds, then the method can be invoked as normal. This call will only
* succeed when the application has sufficient security privileges. If this call
* fails then a warning will be logged and the method may fail.</p>

View File

@ -16,7 +16,6 @@
*/
package org.apache.commons.lang3.reflect;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
@ -30,8 +29,8 @@ import java.util.Set;
import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.ClassUtils;
import org.apache.commons.lang3.Validate;
import org.apache.commons.lang3.ClassUtils.Interfaces;
import org.apache.commons.lang3.Validate;
/**
* <p>Utility reflection methods focused on {@link Method}s, originally from Commons BeanUtils.
@ -46,7 +45,7 @@ import org.apache.commons.lang3.ClassUtils.Interfaces;
* However, an {@link IllegalAccessException} is thrown if the method is invoked.</p>
*
* <p>{@link MethodUtils} contains a workaround for this situation.
* It will attempt to call {@link AccessibleObject#setAccessible(boolean)} on this method.
* It will attempt to call {@link java.lang.reflect.AccessibleObject#setAccessible(boolean)} on this method.
* If this call succeeds, then the method can be invoked as normal.
* This call will only succeed when the application has sufficient security privileges.
* If this call fails then the method may fail.</p>