From 021942f99b7c06caa14a102b03b69eb6b1a892d1 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Tue, 3 Jul 2012 00:25:37 -0700 Subject: j3dcore: trivial type annotations for PriveledgedActions whose return we don't care about Signed-off-by: Harvey Harrison --- .../share/javax/media/j3d/MasterControl.java | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/classes/share/javax/media/j3d/MasterControl.java b/src/classes/share/javax/media/j3d/MasterControl.java index 66e482f..fd72a17 100644 --- a/src/classes/share/javax/media/j3d/MasterControl.java +++ b/src/classes/share/javax/media/j3d/MasterControl.java @@ -755,7 +755,7 @@ class MasterControl { statsLogger = Logger.getLogger("j3d.stats"); java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { + new java.security.PrivilegedAction() { public Object run() { coreLoggerEnabled = initLogger(coreLogger, null); devLoggerEnabled = initLogger(devLogger, Level.OFF); @@ -940,7 +940,7 @@ private static String getProperty(final String prop) { synchronized (rootThreadGroup) { threadPriority = pri; java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { + new java.security.PrivilegedAction() { public Object run() { Thread list[] = new Thread[rootThreadGroup.activeCount()]; @@ -1090,7 +1090,7 @@ private static String getProperty(final String prop) { java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { + new java.security.PrivilegedAction() { public Object run() { Renderer r; synchronized (rootThreadGroup) { @@ -1265,7 +1265,7 @@ private static String getProperty(final String prop) { workToDo = true; state = RUNNING; java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { + new java.security.PrivilegedAction() { public Object run() { synchronized (rootThreadGroup) { mcThread = new @@ -1762,7 +1762,7 @@ private static String getProperty(final String prop) { if (s.updateThread == null) { java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { + new java.security.PrivilegedAction() { public Object run() { synchronized (rootThreadGroup) { s.updateThread = new StructureUpdateThread( @@ -1887,7 +1887,7 @@ private static String getProperty(final String prop) { if (univ.behaviorScheduler == null) { java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { + new java.security.PrivilegedAction() { public Object run() { synchronized (rootThreadGroup) { univ.behaviorScheduler = new BehaviorScheduler( @@ -2085,7 +2085,7 @@ private static String getProperty(final String prop) { // Create timer thread java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { + new java.security.PrivilegedAction() { public Object run() { synchronized (rootThreadGroup) { timerThread = new TimerThread(rootThreadGroup); @@ -2098,7 +2098,7 @@ private static String getProperty(final String prop) { // Create notification thread java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { + new java.security.PrivilegedAction() { public Object run() { synchronized (rootThreadGroup) { notificationThread = new NotificationThread(rootThreadGroup); @@ -2243,7 +2243,7 @@ private static String getProperty(final String prop) { Renderer rdr = Screen3D.deviceRendererMap.get(cv.screen.graphicsDevice); if (rdr == null) { java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { + new java.security.PrivilegedAction() { public Object run() { synchronized (rootThreadGroup) { @@ -2322,7 +2322,7 @@ private static String getProperty(final String prop) { if (env.inputsched == null) { java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { + new java.security.PrivilegedAction() { public Object run() { synchronized (rootThreadGroup) { env.inputsched = new InputDeviceScheduler( @@ -3593,7 +3593,7 @@ private static String getProperty(final String prop) { static { // create ThreadGroup java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { + new java.security.PrivilegedAction() { public Object run() { ThreadGroup parent; Thread thread = Thread.currentThread(); -- cgit v1.2.3