aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
diff options
context:
space:
mode:
authorDenis Lila <[email protected]>2011-03-07 10:45:38 -0500
committerDenis Lila <[email protected]>2011-03-07 10:45:38 -0500
commit9bc8e7fc91fa792f30093e8a24396d4aa5b9a9b5 (patch)
tree2be5034044f99b97c1cc3386194f8abf4338bd30 /plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
parentedd9ce90aa909a19467fc121d8a937b3885e3520 (diff)
Minor refactoring.
Diffstat (limited to 'plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java')
-rw-r--r--plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java5
1 files changed, 2 insertions, 3 deletions
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("<init>")
|| methodName.equals("<clinit>")) {
- 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) {