commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tobr...@apache.org
Subject cvs commit: jakarta-commons-sandbox/codec/src/java/org/apache/commons/codec/binary Base64.java
Date Mon, 03 Mar 2003 09:17:01 GMT
tobrien     2003/03/03 01:17:00

  Modified:    codec/src/java/org/apache/commons/codec/binary Base64.java
  Log:
  Checkstyle fixes
  
  Revision  Changes    Path
  1.11      +8 -7      jakarta-commons-sandbox/codec/src/java/org/apache/commons/codec/binary/Base64.java
  
  Index: Base64.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/codec/src/java/org/apache/commons/codec/binary/Base64.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Base64.java	3 Mar 2003 08:12:35 -0000	1.10
  +++ Base64.java	3 Mar 2003 09:17:00 -0000	1.11
  @@ -138,12 +138,13 @@
       }
   
       private static boolean isBase64(byte octect) {
  -        if( octect == PAD ) {
  +        if (octect == PAD) {
               return true;
           } 
  -        else if( base64Alphabet[octect] == -1 ) {
  +        else if (base64Alphabet[octect] == -1) {
               return false;
  -        } else {
  +        } 
  +        else {
               return true;
           }
       }
  @@ -159,7 +160,7 @@
               return true;
           }
           for (int i = 0; i < length; i++) {
  -            if ( !isBase64(arrayOctect[i]) ) {
  +            if (!isBase64(arrayOctect[i])) {
                   return false;
               }
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message