diff options
Diffstat (limited to 'gnu/javax/print/ipp/attribute/supported/CompressionSupported.java')
-rw-r--r-- | gnu/javax/print/ipp/attribute/supported/CompressionSupported.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/javax/print/ipp/attribute/supported/CompressionSupported.java b/gnu/javax/print/ipp/attribute/supported/CompressionSupported.java index 56020748f..768091cb2 100644 --- a/gnu/javax/print/ipp/attribute/supported/CompressionSupported.java +++ b/gnu/javax/print/ipp/attribute/supported/CompressionSupported.java @@ -147,13 +147,13 @@ public final class CompressionSupported extends EnumSyntax * @see #getAssociatedAttribute() */ public static Compression[] - getAssociatedAttributeArray(Set<CompressionSupported> set) + getAssociatedAttributeArray(Set<Attribute> set) { Compression[] result = new Compression[set.size()]; int j = 0; - for (CompressionSupported tmp : set) + for (Attribute tmp : set) { - result[j] = tmp.getAssociatedAttribute(); + result[j] = ((CompressionSupported) tmp).getAssociatedAttribute(); j++; } return result; |