src/share/classes/com/sun/tools/javac/main/JavaCompiler.java

changeset 1442
fcf89720ae71
parent 1416
c0f0c41cafa0
child 1455
75ab654b5cd5
     1.1 --- a/src/share/classes/com/sun/tools/javac/main/JavaCompiler.java	Mon Dec 10 12:10:50 2012 +0000
     1.2 +++ b/src/share/classes/com/sun/tools/javac/main/JavaCompiler.java	Mon Dec 10 16:21:26 2012 +0000
     1.3 @@ -189,7 +189,7 @@
     1.4          }
     1.5      }
     1.6  
     1.7 -    private static CompilePolicy DEFAULT_COMPILE_POLICY = CompilePolicy.BY_TODO;
     1.8 +    private static final CompilePolicy DEFAULT_COMPILE_POLICY = CompilePolicy.BY_TODO;
     1.9  
    1.10      protected static enum ImplicitSourcePolicy {
    1.11          /** Don't generate or process implicitly read source files. */
    1.12 @@ -543,7 +543,7 @@
    1.13          public static CompileState max(CompileState a, CompileState b) {
    1.14              return a.value > b.value ? a : b;
    1.15          }
    1.16 -        private int value;
    1.17 +        private final int value;
    1.18      };
    1.19      /** Partial map to record which compiler phases have been executed
    1.20       * for each compilation unit. Used for ATTR and FLOW phases.

mercurial