commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1634455 - /commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/CharSequenceUtils.java
Date Mon, 27 Oct 2014 05:24:23 GMT
Author: ggregory
Date: Mon Oct 27 05:24:22 2014
New Revision: 1634455

URL: http://svn.apache.org/r1634455
Log:
Checkstyle.

Modified:
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/CharSequenceUtils.java

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/CharSequenceUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/CharSequenceUtils.java?rev=1634455&r1=1634454&r2=1634455&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/CharSequenceUtils.java
(original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/CharSequenceUtils.java
Mon Oct 27 05:24:22 2014
@@ -68,8 +68,8 @@ public class CharSequenceUtils {
             }
 
             // The same check as in String.regionMatches():
-            if (Character.toUpperCase(c1) != Character.toUpperCase(c2)
-                    && Character.toLowerCase(c1) != Character.toLowerCase(c2)) {
+            if (Character.toUpperCase(c1) != Character.toUpperCase(c2) &&
+                    Character.toLowerCase(c1) != Character.toLowerCase(c2)) {
                 return false;
             }
         }



Mime
View raw message