From 2fd7f3c365c2ff561c2452b177428f5919f81dad Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Sun, 3 Mar 2013 12:05:42 -0800 Subject: j3dutils: remove unneeded cast to String Signed-off-by: Harvey Harrison --- src/classes/share/com/sun/j3d/internal/J3dUtilsI18N.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/share/com/sun/j3d/internal/J3dUtilsI18N.java b/src/classes/share/com/sun/j3d/internal/J3dUtilsI18N.java index 6505e02..32c052b 100644 --- a/src/classes/share/com/sun/j3d/internal/J3dUtilsI18N.java +++ b/src/classes/share/com/sun/j3d/internal/J3dUtilsI18N.java @@ -47,7 +47,7 @@ public class J3dUtilsI18N { static public String getString(String key) { String s; try { - s = (String) ResourceBundle.getBundle("com.sun.j3d.ExceptionStrings").getString(key); + s = ResourceBundle.getBundle("com.sun.j3d.ExceptionStrings").getString(key); } catch (MissingResourceException e) { System.err.println("J3dUtilsI18N: Error looking up: " + key); -- cgit v1.2.3