Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A4A110B02 for ; Thu, 24 Oct 2013 00:36:30 +0000 (UTC) Received: (qmail 21059 invoked by uid 500); 24 Oct 2013 00:36:30 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 21016 invoked by uid 500); 24 Oct 2013 00:36:30 -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 21009 invoked by uid 99); 24 Oct 2013 00:36:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Oct 2013 00:36:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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; Thu, 24 Oct 2013 00:36:29 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 9EB212388980; Thu, 24 Oct 2013 00:36:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1535242 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoFloat.java Date: Thu, 24 Oct 2013 00:36:09 -0000 To: commits@commons.apache.org From: ggregory@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20131024003609.9EB212388980@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ggregory Date: Thu Oct 24 00:36:09 2013 New Revision: 1535242 URL: http://svn.apache.org/r1535242 Log: The declared exception ImageWriteException is not actually thrown by the method encodeValue(ByteOrder, float...) from type TagInfoFloat. Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoFloat.java Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoFloat.java URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoFloat.java?rev=1535242&r1=1535241&r2=1535242&view=diff ============================================================================== --- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoFloat.java (original) +++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoFloat.java Thu Oct 24 00:36:09 2013 @@ -31,7 +31,7 @@ public class TagInfoFloat extends TagInf return ByteConversions.toFloats(bytes, byteOrder); } - public byte[] encodeValue(final ByteOrder byteOrder, final float... values) throws ImageWriteException { + public byte[] encodeValue(final ByteOrder byteOrder, final float... values) { return ByteConversions.toBytes(values, byteOrder); } }