Browse Source

Make some things final

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274932 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
c837881aac
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/jsp/JspNameMangler.java
  3. +1
    -1
      src/main/org/apache/tools/ant/types/Path.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java View File

@@ -108,7 +108,7 @@ public abstract class DefaultCompilerAdapter implements CompilerAdapter {
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
- 1
src/main/org/apache/tools/ant/taskdefs/optional/jsp/JspNameMangler.java View File

@@ -67,7 +67,7 @@ public class JspNameMangler implements JspMangler {
/**
* 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
- 1
src/main/org/apache/tools/ant/types/Path.java View File

@@ -100,7 +100,7 @@ public class Path extends DataType implements Cloneable {
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"));




Loading…
Cancel
Save