diff options
author | Harvey Harrison <[email protected]> | 2012-07-03 00:25:37 -0700 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2012-07-03 00:25:37 -0700 |
commit | 021942f99b7c06caa14a102b03b69eb6b1a892d1 (patch) | |
tree | 0a5b5387a084b78be91850fb771d4e40faf79059 /src/classes | |
parent | 3c51d43b377f446ea670b973bec121f086544517 (diff) |
j3dcore: trivial type annotations for PriveledgedActions whose return we don't care about
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/classes')
-rw-r--r-- | src/classes/share/javax/media/j3d/MasterControl.java | 22 |
1 files changed, 11 insertions, 11 deletions
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<Object>() { 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<Object>() { 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<Object>() { 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<Object>() { 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<Object>() { 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<Object>() { 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<Object>() { 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<Object>() { 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<Object>() { 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<Object>() { 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<Object>() { public Object run() { ThreadGroup parent; Thread thread = Thread.currentThread(); |