diff options
Diffstat (limited to 'gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java')
-rw-r--r-- | gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java b/gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java index 8f6f21c58..aeb86ff10 100644 --- a/gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java +++ b/gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java @@ -131,13 +131,13 @@ public final class JobSheetsSupported extends TextSyntax * @see #getAssociatedAttribute() */ public static JobSheets[] - getAssociatedAttributeArray(Set<JobSheetsSupported> set) + getAssociatedAttributeArray(Set<Attribute> set) { ArrayList<JobSheets> result = new ArrayList<JobSheets>(); int j = 0; - for (JobSheetsSupported tmp : set) + for (Attribute tmp : set) { - JobSheets att = tmp.getAssociatedAttribute(); + JobSheets att = ((JobSheetsSupported) tmp).getAssociatedAttribute(); if (att != null) result.add(att); j++; |