arturobernalg commented on a change in pull request #757:
URL: https://github.com/apache/commons-lang/pull/757#discussion_r820271209



##########
File path: src/main/java/org/apache/commons/lang3/ArrayUtils.java
##########
@@ -3566,7 +3566,7 @@ public static boolean isSameType(final Object array1, 
final Object array2) {
         if (array1 == null || array2 == null) {
             throw new IllegalArgumentException("The Array must not be null");
         }
-        return array1.getClass().getName().equals(array2.getClass().getName());
+        return ClassUtils.getName(array1).equals(ClassUtils.getName(array2));

Review comment:
       Yep, my bad. changed.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to