summaryrefslogtreecommitdiff
path: root/libjava/classpath/javax/print/attribute/standard/JobStateReasons.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/print/attribute/standard/JobStateReasons.java')
-rw-r--r--libjava/classpath/javax/print/attribute/standard/JobStateReasons.java34
1 files changed, 17 insertions, 17 deletions
diff --git a/libjava/classpath/javax/print/attribute/standard/JobStateReasons.java b/libjava/classpath/javax/print/attribute/standard/JobStateReasons.java
index 6c7a9f4aad4..af6eb5e9082 100644
--- a/libjava/classpath/javax/print/attribute/standard/JobStateReasons.java
+++ b/libjava/classpath/javax/print/attribute/standard/JobStateReasons.java
@@ -44,14 +44,14 @@ import javax.print.attribute.Attribute;
import javax.print.attribute.PrintJobAttribute;
/**
- * The <code>JobStateReasons</code> attribute provides the set of
- * additional informations available about the current state of a print job.
+ * The <code>JobStateReasons</code> attribute provides the set of
+ * additional informations available about the current state of a print job.
* <p>
* <b>IPP Compatibility:</b> JobStateReasons is an IPP 1.1 attribute.
* </p>
* @see javax.print.attribute.standard.JobState
* @see javax.print.attribute.standard.JobStateReason
- *
+ *
* @author Michael Koch (konqueror@gmx.de)
* @author Wolfgang Baer (WBaer@gmx.de)
*/
@@ -62,7 +62,7 @@ public final class JobStateReasons extends HashSet<JobStateReason>
/**
* Constructs an empty <code>JobStateReasons</code> attribute.
- */
+ */
public JobStateReasons()
{
super();
@@ -71,10 +71,10 @@ public final class JobStateReasons extends HashSet<JobStateReason>
/**
* Constructs an empty <code>JobStateReasons</code> attribute
* with the given initial capacity and load factor.
- *
+ *
* @param initialCapacity the intial capacity.
* @param loadFactor the load factor of the underlying HashSet.
- *
+ *
* @throws IllegalArgumentException if initialCapacity &lt; 0
* @throws IllegalArgumentException if initialCapacity or loadFactor &lt; 0
*/
@@ -86,9 +86,9 @@ public final class JobStateReasons extends HashSet<JobStateReason>
/**
* Constructs an empty <code>JobStateReasons</code> attribute
* with the given initial capacity and the default load factor.
- *
+ *
* @param initialCapacity the intial capacity.
- *
+ *
* @throws IllegalArgumentException if initialCapacity &lt; 0
*/
public JobStateReasons(int initialCapacity)
@@ -99,12 +99,12 @@ public final class JobStateReasons extends HashSet<JobStateReason>
/**
* Constructs a <code>JobStateReasons</code> attribute
* with the content of the given collection.
- *
+ *
* @param collection the collection for the initial values.
- *
- * @throws NullPointerException if collection or any value is
+ *
+ * @throws NullPointerException if collection or any value is
* <code>null</code>.
- * @throws ClassCastException if values of collection are not of type
+ * @throws ClassCastException if values of collection are not of type
* <code>JobStateReason</code>.
*/
public JobStateReasons(Collection<JobStateReason> collection)
@@ -116,10 +116,10 @@ public final class JobStateReasons extends HashSet<JobStateReason>
/**
* Adds the given job state reason object to the set.
- *
+ *
* @param o the reason of type <code>JobStateReason</code>.
* @return <code>true</code> if set changed, <code>false</code> otherwise.
- *
+ *
* @throws NullPointerException if given object is <code>null</code>.
* @throws ClassCastException if given object is not an instance of
* <code>JobStateReason</code>.
@@ -127,11 +127,11 @@ public final class JobStateReasons extends HashSet<JobStateReason>
public boolean add(JobStateReason o)
{
if (o == null)
- throw new NullPointerException("reason is null");
-
+ throw new NullPointerException("reason is null");
+
return super.add(o);
}
-
+
/**
* Returns category of this class.
*