From issues-return-14989-apmail-commons-issues-archive=commons.apache.org@commons.apache.org Wed Sep 08 17:17:56 2010 Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 84607 invoked from network); 8 Sep 2010 17:17:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Sep 2010 17:17:55 -0000 Received: (qmail 84777 invoked by uid 500); 8 Sep 2010 17:17:55 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 84682 invoked by uid 500); 8 Sep 2010 17:17:54 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 84674 invoked by uid 99); 8 Sep 2010 17:17:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 17:17:54 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 17:17:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o88HHX5q006696 for ; Wed, 8 Sep 2010 17:17:33 GMT Message-ID: <12996771.80191283966253326.JavaMail.jira@thor> Date: Wed, 8 Sep 2010 13:17:33 -0400 (EDT) From: "Niall Pemberton (JIRA)" To: issues@commons.apache.org Subject: [jira] Resolved: (IO-243) SwappedDataInputStream readBoolean is inverted In-Reply-To: <194363666.669251270254987724.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IO-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niall Pemberton resolved IO-243. -------------------------------- Assignee: Niall Pemberton Fix Version/s: 2.0 Resolution: Fixed Fixed, thanks for the patch! http://svn.apache.org/viewvc?view=revision&revision=995160 > SwappedDataInputStream readBoolean is inverted > ---------------------------------------------- > > Key: IO-243 > URL: https://issues.apache.org/jira/browse/IO-243 > Project: Commons IO > Issue Type: Bug > Components: Streams/Writers > Affects Versions: 1.0, 1.1, 1.2, 1.3, 1.3.1, 1.3.2, 1.4 > Reporter: Ray Myers > Assignee: Niall Pemberton > Priority: Minor > Fix For: 2.0 > > Attachments: IO-243-SwappedDataInputStream-readBoolean.patch > > Original Estimate: 0.17h > Remaining Estimate: 0.17h > > The method readBoolean in SwappedDataInputStream returns true when the byte is zero, false otherwise. In accordance with the contract in java.io.DataInput, true should indicate a non-zero byte. SwappedDataInputStream is for reading Little Endian formats, it should not change the boolean value of individual bytes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.