summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Baer <WBaer@gmx.de>2006-01-15 13:46:49 +0000
committerWolfgang Baer <WBaer@gmx.de>2006-01-15 13:46:49 +0000
commit31cfa5ca927b53343288878588008f75fcbefd28 (patch)
tree842bb718122c7060d18f20c38729e9e57628c073
parent94c08abc9ed0b63519e123a46161f6a7d7e8cb5b (diff)
downloadclasspath-31cfa5ca927b53343288878588008f75fcbefd28.tar.gz
2006-01-15 Wolfgang Baer <WBaer@gmx.de>
* javax/print/attribute/standard/PrinterStateReasons.java: (printerStateReasonSet): Genericize the return type.
-rw-r--r--ChangeLog5
-rw-r--r--javax/print/attribute/standard/PrinterStateReasons.java2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c1fcbb6c0..2a473e382 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-15 Wolfgang Baer <WBaer@gmx.de>
+
+ * javax/print/attribute/standard/PrinterStateReasons.java:
+ (printerStateReasonSet): Genericize the return type.
+
2005-01-13 Mark Wielaard <mark@klomp.org>
* java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
diff --git a/javax/print/attribute/standard/PrinterStateReasons.java b/javax/print/attribute/standard/PrinterStateReasons.java
index 2acaa7d15..d8e9f9fc1 100644
--- a/javax/print/attribute/standard/PrinterStateReasons.java
+++ b/javax/print/attribute/standard/PrinterStateReasons.java
@@ -139,7 +139,7 @@ public final class PrinterStateReasons
* @param severity the severity level for the constructed set.
* @return The set of printer state reasons.
*/
- public Set printerStateReasonSet(Severity severity)
+ public Set<PrinterStateReason> printerStateReasonSet(Severity severity)
{
if (severity == null)
throw new NullPointerException("severity is null");