< prev index next >
src/java.desktop/share/classes/javax/imageio/ImageWriteParam.java
Print this page
rev 50037 : 8202745: Remove hyphens from "out-of-bounds".
@@ -1241,11 +1241,11 @@
}
if (getCompressionTypes() != null && getCompressionType() == null) {
throw new IllegalStateException("No compression type set!");
}
if (quality < 0.0F || quality > 1.0F) {
- throw new IllegalArgumentException("Quality out-of-bounds!");
+ throw new IllegalArgumentException("Quality out of bounds!");
}
this.compressionQuality = quality;
}
/**
@@ -1339,11 +1339,11 @@
if ((getCompressionTypes() != null) &&
(getCompressionType() == null)) {
throw new IllegalStateException("No compression type set!");
}
if (quality < 0.0F || quality > 1.0F) {
- throw new IllegalArgumentException("Quality out-of-bounds!");
+ throw new IllegalArgumentException("Quality out of bounds!");
}
return -1.0F;
}
/**
< prev index next >