Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8255800: Raster creation methods need some specification clean up #3223

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -316,7 +316,7 @@ public static WritableRaster createInterleavedRaster(int dataType,
* Creates a Raster based on a BandedSampleModel with the
* specified data type, width, height, and number of bands.
*
* <p> The upper left corner of the Raster is given by the,
* <p> The upper left corner of the Raster is given by the
* location argument. If location is null, (0, 0) will be used.
* The dataType parameter should be one of the enumerated values
* defined in the DataBuffer class.
@@ -116,11 +116,9 @@
* @throws IllegalArgumentException if the product of {@code w}
* and {@code h} is greater than {@code Integer.MAX_VALUE}
* @throws IllegalArgumentException if {@code dataType} is not
* one of the supported data types
* @throws IllegalArgumentException if {@code numBands} is less than 1
* @throws IllegalArgumentException if {@code dataType} is not
* one of the pre-defined data type tags in the
* {@code DataBuffer} class
* @throws IllegalArgumentException if {@code numBands} is less than 1
*/
public SampleModel(int dataType, int w, int h, int numBands)
{