commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1067021 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java
Date Thu, 03 Feb 2011 22:57:47 GMT
Author: mbenson
Date: Thu Feb  3 22:57:47 2011
New Revision: 1067021

URL: http://svn.apache.org/viewvc?rev=1067021&view=rev
Log:
ws

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java?rev=1067021&r1=1067020&r2=1067021&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java Thu
Feb  3 22:57:47 2011
@@ -396,7 +396,7 @@ public class ObjectUtils {
             if (o.getClass().isArray()) {
                 final Class<?> componentType = o.getClass().getComponentType();
                 if (!componentType.isPrimitive()) {
-                    result = ((Object[])o).clone();
+                    result = ((Object[]) o).clone();
                 } else {
                     int length = Array.getLength(o);
                     result = Array.newInstance(componentType, length);
@@ -421,7 +421,7 @@ public class ObjectUtils {
                 }
             }
             @SuppressWarnings("unchecked")
-            final T checked = (T)result;
+            final T checked = (T) result;
             return checked;
         }
 



Mime
View raw message