diff options
author | Felipe Heidrich <fheidric> | 2009-01-05 16:56:50 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2009-01-05 16:56:50 +0000 |
commit | ea6529e6474868b13bdeda7ed1c18eb1a162dc2a (patch) | |
tree | 7475efa5d61ba23cca1995483458ddffe68a332a /bundles/org.eclipse.swt/Eclipse SWT/common | |
parent | 81ee4f970b1929ef8bcc1510611b3a5ffe8d53c0 (diff) | |
download | eclipse.platform.swt-ea6529e6474868b13bdeda7ed1c18eb1a162dc2a.tar.gz eclipse.platform.swt-ea6529e6474868b13bdeda7ed1c18eb1a162dc2a.tar.xz eclipse.platform.swt-ea6529e6474868b13bdeda7ed1c18eb1a162dc2a.zip |
Bug 259910: Unprecise Javadoc for ImageData constructorv3526a
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/common')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageData.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageData.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageData.java index 0158f49fec..f9152353fd 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageData.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageData.java @@ -247,7 +247,7 @@ public final class ImageData implements CloneableCompatibility { * @param palette the palette of the image (must not be null) * * @exception IllegalArgumentException <ul> - * <li>ERROR_INVALID_ARGUMENT - if the width or height is negative, or if the depth is not + * <li>ERROR_INVALID_ARGUMENT - if the width or height is zero or negative, or if the depth is not * one of 1, 2, 4, 8, 16, 24 or 32</li> * <li>ERROR_NULL_ARGUMENT - if the palette is null</li> * </ul> @@ -271,7 +271,7 @@ public ImageData(int width, int height, int depth, PaletteData palette) { * @param data the data of the image * * @exception IllegalArgumentException <ul> - * <li>ERROR_INVALID_ARGUMENT - if the width or height is negative, or if the depth is not + * <li>ERROR_INVALID_ARGUMENT - if the width or height is zero or negative, or if the depth is not * one of 1, 2, 4, 8, 16, 24 or 32, or the data array is too small to contain the image data</li> * <li>ERROR_NULL_ARGUMENT - if the palette or data is null</li> * <li>ERROR_CANNOT_BE_ZERO - if the scanlinePad is zero</li> |