/[classpath]/classpath/java/awt/image/ComponentSampleModel.java
ViewVC logotype

Diff of /classpath/java/awt/image/ComponentSampleModel.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3.2.4 by gnu_andrew, Tue Aug 2 20:12:16 2005 UTC revision 1.3.2.5 by gnu_andrew, Wed Nov 2 00:43:32 2005 UTC
# Line 63  public class ComponentSampleModel extend Line 63  public class ComponentSampleModel extend
63    protected int[] bandOffsets;    protected int[] bandOffsets;
64    protected int[] bankIndices;    protected int[] bankIndices;
65        
66    // FIXME: Should we really shadow the numBands in the superclass?    /**
67    //protected int numBands;     * Number of bands in the image described.
68       * @specnote This field shadows the protected numBands in SampleModel.
69       */
70      protected int numBands;
71        
72    /** Used when creating data buffers. */    /** Used when creating data buffers. */
73    protected int numBanks;    protected int numBanks;
# Line 100  public class ComponentSampleModel extend Line 103  public class ComponentSampleModel extend
103            
104      this.bandOffsets = bandOffsets;      this.bandOffsets = bandOffsets;
105      this.bankIndices = bankIndices;      this.bankIndices = bankIndices;
106        this.numBands = bandOffsets.length;
107    
108      this.numBanks = 0;      this.numBanks = 0;
109      for (int b=0; b<bankIndices.length; b++)      for (int b=0; b<bankIndices.length; b++)

Legend:
Removed from v.1.3.2.4  
changed lines
  Added in v.1.3.2.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26