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 <[EMAIL PROTECTED]>
* 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-classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-classpath