summaryrefslogtreecommitdiff
path: root/java/awt/AWTKeyStroke.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/awt/AWTKeyStroke.java')
-rw-r--r--java/awt/AWTKeyStroke.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/awt/AWTKeyStroke.java b/java/awt/AWTKeyStroke.java
index 666f3a675..378e4eb15 100644
--- a/java/awt/AWTKeyStroke.java
+++ b/java/awt/AWTKeyStroke.java
@@ -643,7 +643,7 @@ public class AWTKeyStroke implements Serializable
throw (Error) new InternalError().initCause(e);
}
// Check level 1 cache.
- AWTKeyStroke cached = (AWTKeyStroke) cache.get(stroke);
+ AWTKeyStroke cached = cache.get(stroke);
if (cached == null)
cache.put(stroke, stroke);
else