Return-Path: Delivered-To: apmail-commons-commits-archive@locus.apache.org Received: (qmail 65331 invoked from network); 20 Jun 2008 01:38:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2008 01:38:23 -0000 Received: (qmail 16192 invoked by uid 500); 20 Jun 2008 01:38:20 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 16139 invoked by uid 500); 20 Jun 2008 01:38:19 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 16130 invoked by uid 99); 20 Jun 2008 01:38:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jun 2008 18:38:19 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jun 2008 01:37:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 030AF23889F1; Thu, 19 Jun 2008 18:37:26 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r669759 - /commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java Date: Fri, 20 Jun 2008 01:37:25 -0000 To: commits@commons.apache.org From: sebb@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080620013726.030AF23889F1@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebb Date: Thu Jun 19 18:37:25 2008 New Revision: 669759 URL: http://svn.apache.org/viewvc?rev=669759&view=rev Log: Might as well make the isBase64(byte) method public - it may be useful Modified: 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/Base64.java URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java?rev=669759&r1=669758&r2=669759&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 Thu Jun 19 18:37:25 2008 @@ -457,7 +457,7 @@ * The value to test * @return true if the value is defined in the the base 64 alphabet, false otherwise. */ - private static boolean isBase64(byte octet) { + public static boolean isBase64(byte octet) { return octet == PAD || (octet >= 0 && octet < base64ToInt.length && base64ToInt[octet] != -1); }