From 9bc8e7fc91fa792f30093e8a24396d4aa5b9a9b5 Mon Sep 17 00:00:00 2001 From: Denis Lila Date: Mon, 7 Mar 2011 10:45:38 -0500 Subject: Minor refactoring. --- plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java') diff --git a/plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java b/plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java index 4858dc4..0bab269 100644 --- a/plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java +++ b/plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java @@ -1228,15 +1228,14 @@ public class PluginAppletSecurityContext { Class c = (Class) store.getObject(classID); Method m = null; Constructor cs = null; - Object o = null; try { if (methodName.equals("") || methodName.equals("")) { - o = cs = c.getConstructor(signature.getClassArray()); + cs = c.getConstructor(signature.getClassArray()); store.reference(cs); } else { - o = m = c.getMethod(methodName, signature.getClassArray()); + m = c.getMethod(methodName, signature.getClassArray()); store.reference(m); } } catch (NoSuchMethodException e) { -- cgit v1.2.3