src/java.desktop/share/classes/sun/awt/AppContext.java

Print this page

        

@@ -146,12 +146,12 @@
     public static final Object EVENT_QUEUE_KEY = new StringBuffer("EventQueue");
 
     /*
      * The keys to store EventQueue push/pop lock and condition.
      */
-    public final static Object EVENT_QUEUE_LOCK_KEY = new StringBuilder("EventQueue.Lock");
-    public final static Object EVENT_QUEUE_COND_KEY = new StringBuilder("EventQueue.Condition");
+    public static final Object EVENT_QUEUE_LOCK_KEY = new StringBuilder("EventQueue.Lock");
+    public static final Object EVENT_QUEUE_COND_KEY = new StringBuilder("EventQueue.Condition");
 
     /* A map of AppContexts, referenced by ThreadGroup.
      */
     private static final Map<ThreadGroup, AppContext> threadGroup2appContext =
             Collections.synchronizedMap(new IdentityHashMap<ThreadGroup, AppContext>());

@@ -170,11 +170,11 @@
        standalone apps only (i.e. not applets)
      */
     private static volatile AppContext mainAppContext = null;
 
     private static class GetAppContextLock {};
-    private final static Object getAppContextLock = new GetAppContextLock();
+    private static final Object getAppContextLock = new GetAppContextLock();
 
     /*
      * The hash map associated with this AppContext.  A private delegate
      * is used instead of subclassing HashMap so as to avoid all of
      * HashMap's potentially risky methods, such as clear(), elements(),