diff options
Diffstat (limited to 'libjava/javax/print/attribute/standard/RequestingUserName.java')
-rw-r--r-- | libjava/javax/print/attribute/standard/RequestingUserName.java | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/libjava/javax/print/attribute/standard/RequestingUserName.java b/libjava/javax/print/attribute/standard/RequestingUserName.java index f71028b..cc0bee8 100644 --- a/libjava/javax/print/attribute/standard/RequestingUserName.java +++ b/libjava/javax/print/attribute/standard/RequestingUserName.java @@ -41,6 +41,10 @@ import java.util.Locale; import javax.print.attribute.PrintRequestAttribute; import javax.print.attribute.TextSyntax; + +/** + * @author Michael Koch (konqueror@gmx.de) + */ public final class RequestingUserName extends TextSyntax implements PrintRequestAttribute { @@ -50,6 +54,7 @@ public final class RequestingUserName extends TextSyntax * Creates a <code>RequestingUserName</code> object. * * @param userName the job name + * @param locale the locale of the user, null means default locale * * @exception NullPointerException if userName is null */ @@ -63,7 +68,7 @@ public final class RequestingUserName extends TextSyntax * * @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) { @@ -74,21 +79,21 @@ public final class RequestingUserName extends TextSyntax } /** - * Returns category of this class. + * Returns category of this attribute. * * @return the class <code>RequestingUserName</code> itself */ - public final Class getCategory() + public Class getCategory() { return RequestingUserName.class; } /** - * Returns name of this class. + * Returns name of this attribute. * * @return the string "requesting-user-name" */ - public final String getName() + public String getName() { return "requesting-user-name"; } |