Author: oheger
Date: Wed Mar 16 21:27:13 2011
New Revision: 1082306
URL: http://svn.apache.org/viewvc?rev=1082306&view=rev
Log:
Checkstyle
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java?rev=1082306&r1=1082305&r2=1082306&view=diff
==============================================================================
---
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java
(original)
+++
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java
Wed Mar 16 21:27:13 2011
@@ -236,7 +236,8 @@ public class FieldUtils {
* @throws IllegalArgumentException if the class or field name is null
* @throws IllegalAccessException if the field is not made accessible
*/
- public static Object readStaticField(Class<?> cls, String fieldName,
boolean forceAccess) throws IllegalAccessException {
+ public static Object readStaticField(Class<?> cls, String fieldName,
boolean forceAccess)
+ throws IllegalAccessException {
Field field = getField(cls, fieldName, forceAccess);
if (field == null) {
throw new IllegalArgumentException("Cannot locate field " +
fieldName + " on " + cls);
@@ -377,7 +378,8 @@ public class FieldUtils {
* @throws IllegalArgumentException if <code>target</code> or
<code>fieldName</code> is null
* @throws IllegalAccessException if the field is not made accessible
*/
- public static Object readDeclaredField(Object target, String fieldName,
boolean forceAccess) throws IllegalAccessException {
+ public static Object readDeclaredField(Object target, String fieldName,
boolean forceAccess)
+ throws IllegalAccessException {
if (target == null) {
throw new IllegalArgumentException("target object must not be
null");
}
@@ -511,7 +513,8 @@ public class FieldUtils {
* @throws IllegalArgumentException if the field is null
* @throws IllegalAccessException if the field is not made accessible or
is final
*/
- public static void writeField(Field field, Object target, Object value,
boolean forceAccess) throws IllegalAccessException {
+ public static void writeField(Field field, Object target, Object value,
boolean forceAccess)
+ throws IllegalAccessException {
if (field == null) {
throw new IllegalArgumentException("The field must not be null");
}