commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1072756 - in /commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary: Base32.java Base64.java
Date Sun, 20 Feb 2011 21:55:45 GMT
Author: ggregory
Date: Sun Feb 20 21:55:44 2011
New Revision: 1072756

URL: http://svn.apache.org/viewvc?rev=1072756&view=rev
Log:
Remove () around return expression.

Modified:
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32.java
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java

Modified: commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32.java?rev=1072756&r1=1072755&r2=1072756&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32.java (original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32.java Sun Feb
20 21:55:44 2011
@@ -466,6 +466,6 @@ public class Base32 extends BaseNCodec {
      * @return <code>true</code> if the value is defined in the the Base32 alphabet
<code>false</code> otherwise.
      */
     public boolean isInAlphabet(byte octet) {
-        return (octet >= 0 && octet < decodeTable.length && decodeTable[octet]
!= -1);
+        return octet >= 0 && octet < decodeTable.length && decodeTable[octet]
!= -1;
     }
 }

Modified: commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java?rev=1072756&r1=1072755&r2=1072756&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java (original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java Sun Feb
20 21:55:44 2011
@@ -777,7 +777,7 @@ public class Base64 extends BaseNCodec {
      * @return <code>true</code> if the value is defined in the the Base32 alphabet
<code>false</code> otherwise.
      */
     protected boolean isInAlphabet(byte octet) {
-        return (octet >= 0 && octet < decodeTable.length && decodeTable[octet]
!= -1);
+        return octet >= 0 && octet < decodeTable.length && decodeTable[octet]
!= -1;
     }
 
 }



Mime
View raw message