diff options
Diffstat (limited to 'libjava/classpath/javax/print/attribute/standard/NumberUpSupported.java')
-rw-r--r-- | libjava/classpath/javax/print/attribute/standard/NumberUpSupported.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libjava/classpath/javax/print/attribute/standard/NumberUpSupported.java b/libjava/classpath/javax/print/attribute/standard/NumberUpSupported.java index 20bd9c93b59..62f417b89ef 100644 --- a/libjava/classpath/javax/print/attribute/standard/NumberUpSupported.java +++ b/libjava/classpath/javax/print/attribute/standard/NumberUpSupported.java @@ -43,13 +43,13 @@ import javax.print.attribute.SupportedValuesAttribute; /** - * The <code>NumberUpSupported</code> printing attribute specifies the - * supported value or range of values for the + * The <code>NumberUpSupported</code> printing attribute specifies the + * supported value or range of values for the * {@link javax.print.attribute.standard.NumberUp} attribute. * <p> * <b>IPP Compatibility:</b> NumberUpSupported is an IPP 1.1 attribute. * </p> - * + * * @author Michael Koch (konqueror@gmx.de) * @author Wolfgang Baer (WBaer@gmx.de) */ @@ -68,7 +68,7 @@ public final class NumberUpSupported extends SetOfIntegerSyntax public NumberUpSupported(int member) { super(member); - + if (member < 1) throw new IllegalArgumentException("member may not be less than 1"); } @@ -79,13 +79,13 @@ public final class NumberUpSupported extends SetOfIntegerSyntax * @param members the members supported for number up. * * @exception IllegalArgumentException if any element is invalid - * @exception NullPointerException if members is <code>null</code> or any + * @exception NullPointerException if members is <code>null</code> or any * element of members is <code>null</code>. */ public NumberUpSupported(int[][] members) { super(members); - + if (members == null) throw new NullPointerException("members may not be null"); } @@ -103,24 +103,24 @@ public final class NumberUpSupported extends SetOfIntegerSyntax public NumberUpSupported(int lowerBound, int upperBound) { super(lowerBound, upperBound); - + if (lowerBound < 1) throw new IllegalArgumentException("lowerBound may not be less than 1"); } - + /** * Tests if the given object is equal to this object. * * @param obj the object to test * - * @return <code>true</code> if both objects are equal, + * @return <code>true</code> if both objects are equal, * <code>false</code> otherwise. */ public boolean equals(Object obj) { if (! (obj instanceof NumberUpSupported)) return false; - + return super.equals(obj); } |