Imported GNU Classpath 0.19 + gcj-import-20051115.
* sources.am: Regenerated. * Makefile.in: Likewise. * scripts/makemake.tcl: Use glob -nocomplain. From-SVN: r107049
This commit is contained in:
parent
02e549bfaa
commit
8f523f3a10
1241 changed files with 97711 additions and 25284 deletions
|
@ -63,8 +63,11 @@ public class ComponentSampleModel extends SampleModel
|
|||
protected int[] bandOffsets;
|
||||
protected int[] bankIndices;
|
||||
|
||||
// FIXME: Should we really shadow the numBands in the superclass?
|
||||
//protected int numBands;
|
||||
/**
|
||||
* Number of bands in the image described.
|
||||
* @specnote This field shadows the protected numBands in SampleModel.
|
||||
*/
|
||||
protected int numBands;
|
||||
|
||||
/** Used when creating data buffers. */
|
||||
protected int numBanks;
|
||||
|
@ -100,6 +103,7 @@ public class ComponentSampleModel extends SampleModel
|
|||
|
||||
this.bandOffsets = bandOffsets;
|
||||
this.bankIndices = bankIndices;
|
||||
this.numBands = bandOffsets.length;
|
||||
|
||||
this.numBanks = 0;
|
||||
for (int b=0; b<bankIndices.length; b++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue