[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] [patch #4082] BandedSampleModel - bug fixes
From: |
David Gilbert |
Subject: |
[commit-cp] [patch #4082] BandedSampleModel - bug fixes |
Date: |
Tue, 7 Jun 2005 21:52:01 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050520 Firefox/1.0.4 |
URL:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=4082>
Summary: BandedSampleModel - bug fixes
Project: classpath
Submitted by: trebligd
Submitted on: Tue 06/07/2005 at 21:51
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
_______________________________________________________
Details:
This patch fixes a number of bugs in the java.awt.image.BandedSampleModel
class:
2005-06-07 David Gilbert <address@hidden>
* java/awt/image/BandedSampleModel.java
(createBankArray): New method.
(BandedSampleModel(int, int, int, int)): reimplemented.
(BandedSampleModel(int, int, int, int, int[], int[]): moved
RasterFormatException nearer to start of constructor.
(getPixel): use band index, not zero.
(getPixels): fixed loop indices.
(getSamples): fixed loop indices.
(setDataElements): use band index, not zero.
I have a large set of Mauve tests for this class that I will commit to Mauve
CVS shortly.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 06/07/2005 at 21:51 Name: patch.txt Size: 4.97KB By: trebligd
Patch for BandedSampleModel
<http://savannah.gnu.org/patch/download.php?item_id=4082&item_file_id=4703>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=4082>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [commit-cp] [patch #4082] BandedSampleModel - bug fixes,
David Gilbert <=