summaryrefslogtreecommitdiff
path: root/libjava/classpath/javax/imageio/metadata/IIOMetadataNode.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/imageio/metadata/IIOMetadataNode.java')
-rw-r--r--libjava/classpath/javax/imageio/metadata/IIOMetadataNode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/classpath/javax/imageio/metadata/IIOMetadataNode.java b/libjava/classpath/javax/imageio/metadata/IIOMetadataNode.java
index 2d52e467078..37269f53916 100644
--- a/libjava/classpath/javax/imageio/metadata/IIOMetadataNode.java
+++ b/libjava/classpath/javax/imageio/metadata/IIOMetadataNode.java
@@ -334,7 +334,7 @@ public class IIOMetadataNode
*/
public void setAttribute(String name, String value)
{
- Attr attr = (Attr) getAttributeNode(name);
+ Attr attr = getAttributeNode(name);
if (attr != null)
attr.setValue(value);
else