< prev index next >

src/java.desktop/share/classes/java/awt/color/ICC_ColorSpace.java

Print this page

        

*** 544,554 **** * @since 1.4 */ public float getMinValue(int component) { if ((component < 0) || (component > this.getNumComponents() - 1)) { throw new IllegalArgumentException( ! "Component index out of range: + component"); } return minVal[component]; } /** --- 544,554 ---- * @since 1.4 */ public float getMinValue(int component) { if ((component < 0) || (component > this.getNumComponents() - 1)) { throw new IllegalArgumentException( ! "Component index out of range: " + component); } return minVal[component]; } /**
*** 569,579 **** * @since 1.4 */ public float getMaxValue(int component) { if ((component < 0) || (component > this.getNumComponents() - 1)) { throw new IllegalArgumentException( ! "Component index out of range: + component"); } return maxVal[component]; } private void setMinMax() { --- 569,579 ---- * @since 1.4 */ public float getMaxValue(int component) { if ((component < 0) || (component > this.getNumComponents() - 1)) { throw new IllegalArgumentException( ! "Component index out of range: " + component); } return maxVal[component]; } private void setMinMax() {
< prev index next >