Index: javax/print/attribute/EnumSyntax.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/print/attribute/EnumSyntax.java,v retrieving revision 1.2 diff -u -r1.2 EnumSyntax.java --- javax/print/attribute/EnumSyntax.java 10 Jan 2004 22:16:26 -0000 1.2 +++ javax/print/attribute/EnumSyntax.java 18 Apr 2004 12:42:50 -0000 @@ -139,7 +139,7 @@ return null; } - public int getOffset() + protected int getOffset() { return 0; } Index: javax/print/attribute/HashAttributeSet.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/print/attribute/HashAttributeSet.java,v retrieving revision 1.1 diff -u -r1.1 HashAttributeSet.java --- javax/print/attribute/HashAttributeSet.java 26 Dec 2003 15:32:30 -0000 1.1 +++ javax/print/attribute/HashAttributeSet.java 18 Apr 2004 12:42:50 -0000 @@ -151,7 +151,7 @@ * @exception ClassCastException if any element of attributes is not an * interface of interfaceName */ - public HashAttributeSet(AttributeSet attributes, Class interfaceName) + protected HashAttributeSet(AttributeSet attributes, Class interfaceName) { this(interfaceName); Index: javax/print/attribute/ResolutionSyntax.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/print/attribute/ResolutionSyntax.java,v retrieving revision 1.1 diff -u -r1.1 ResolutionSyntax.java --- javax/print/attribute/ResolutionSyntax.java 26 Dec 2003 15:32:30 -0000 1.1 +++ javax/print/attribute/ResolutionSyntax.java 18 Apr 2004 12:42:50 -0000 @@ -104,7 +104,7 @@ * * @return the resolution * - * @exception IllegalArgumenException if units < 1 + * @exception IllegalArgumentException if units < 1 */ public int getCrossFeedResolution(int units) { @@ -130,7 +130,7 @@ * * @return the resolution * - * @exception IllegalArgumenException if units < 1 + * @exception IllegalArgumentException if units < 1 */ public int getFeedResolution(int units) { Index: javax/print/attribute/TextSyntax.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/print/attribute/TextSyntax.java,v retrieving revision 1.1 diff -u -r1.1 TextSyntax.java --- javax/print/attribute/TextSyntax.java 26 Dec 2003 15:32:30 -0000 1.1 +++ javax/print/attribute/TextSyntax.java 18 Apr 2004 12:42:50 -0000 @@ -1,5 +1,5 @@ /* TextSyntax.java -- - Copyright (C) 2003 Free Software Foundation, Inc. + Copyright (C) 2003, 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -103,7 +103,7 @@ * * @param obj the object to test * - * @returns true if both objects are equal, false otherwise. + * @return true if both objects are equal, false otherwise. */ public boolean equals(Object obj) { @@ -114,5 +114,13 @@ return (value.equals(tmp.getValue()) && locale.equals(tmp.getLocale())); + } + + /** + * Returns a string representing the object. + */ + public String toString() + { + return getValue(); } }