diff options
Diffstat (limited to 'libjava/classpath/java/awt/Image.java')
-rw-r--r-- | libjava/classpath/java/awt/Image.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libjava/classpath/java/awt/Image.java b/libjava/classpath/java/awt/Image.java index 8a1cc0f0039..7b2cee7aec2 100644 --- a/libjava/classpath/java/awt/Image.java +++ b/libjava/classpath/java/awt/Image.java @@ -193,13 +193,13 @@ public abstract class Image { case SCALE_AREA_AVERAGING: case SCALE_SMOOTH: - filter = new AreaAveragingScaleFilter(width, height); - break; + filter = new AreaAveragingScaleFilter(width, height); + break; case SCALE_DEFAULT: case SCALE_FAST: case SCALE_REPLICATE: default: - filter = new ReplicateScaleFilter(width, height); + filter = new ReplicateScaleFilter(width, height); } ImageProducer producer = new FilteredImageSource(getSource(), filter); @@ -215,7 +215,7 @@ public abstract class Image /** * Sets the acceleration priority of the image. * This is a value from 0 (lowest) to 1 (highest), which may - * be used as a hint for image acceleration. + * be used as a hint for image acceleration. * E.g. higher priority images may be stored in video memory. * @param priority - the priority * @throws IllegalArgumentException if priority is not >= 0 and <= 1. |