bodewig     2003/07/24 06:55:58

  Modified:    src/main/org/apache/tools/ant/taskdefs/compilers
                        DefaultCompilerAdapter.java
               src/main/org/apache/tools/ant/taskdefs/optional/jsp
                        JspNameMangler.java
               src/main/org/apache/tools/ant/types Path.java
  Log:
  Make some things final
  
  Revision  Changes    Path
  1.40      +1 -1      
ant/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
  
  Index: DefaultCompilerAdapter.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- DefaultCompilerAdapter.java       19 Jul 2003 11:20:15 -0000      1.39
  +++ DefaultCompilerAdapter.java       24 Jul 2003 13:55:57 -0000      1.40
  @@ -108,7 +108,7 @@
       protected String memoryMaximumSize;
   
       protected File[] compileList;
  -    protected static String lSep = System.getProperty("line.separator");
  +    protected static final String lSep = 
System.getProperty("line.separator");
       protected Javac attributes;
   
       private FileUtils fileUtils = FileUtils.newFileUtils();
  
  
  
  1.11      +1 -1      
ant/src/main/org/apache/tools/ant/taskdefs/optional/jsp/JspNameMangler.java
  
  Index: JspNameMangler.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/jsp/JspNameMangler.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- JspNameMangler.java       10 Feb 2003 14:14:12 -0000      1.10
  +++ JspNameMangler.java       24 Jul 2003 13:55:57 -0000      1.11
  @@ -67,7 +67,7 @@
       /**
        * this is the list of keywords which can not be used as classnames
        */
  -    public static String[] keywords = {
  +    public static final String[] keywords = {
               "assert",
               "abstract", "boolean", "break", "byte",
               "case", "catch", "char", "class",
  
  
  
  1.54      +1 -1      ant/src/main/org/apache/tools/ant/types/Path.java
  
  Index: Path.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/Path.java,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- Path.java 19 Jul 2003 08:11:07 -0000      1.53
  +++ Path.java 24 Jul 2003 13:55:57 -0000      1.54
  @@ -100,7 +100,7 @@
       private Vector elements;
   
       /** The system classspath as a Path object */
  -    public static Path systemClasspath =
  +    public static final Path systemClasspath =
           new Path(null, System.getProperty("java.class.path"));
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to