Browse Source

Restore non-BC removal of protected lSep property; WS

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442375 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 19 years ago
parent
commit
183b544b78
1 changed files with 4 additions and 7 deletions
  1. +4
    -7
      src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java

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

@@ -19,7 +19,7 @@
package org.apache.tools.ant.taskdefs.compilers;

//Java5 style
//import static org.apache.tools.ant.util.StringUtils.LINE_SEP;
//import static org.apache.tools.ant.util.StringUtils.LINE_SEP;

import java.io.File;
import java.io.FileWriter;
@@ -48,10 +48,6 @@ public abstract class DefaultCompilerAdapter implements CompilerAdapter {

private static final FileUtils FILE_UTILS = FileUtils.getFileUtils();

/* jdg - TODO - all these attributes are currently protected, but they
* should probably be private in the near future.
*/

protected Path src;
protected File destDir;
protected String encoding;
@@ -73,9 +69,10 @@ public abstract class DefaultCompilerAdapter implements CompilerAdapter {
protected String memoryMaximumSize;

protected File[] compileList;
//protected static final String lSep = System.getProperty("line.separator");
protected Javac attributes;

//must keep for subclass BC, though unused:
protected static final String lSep = StringUtils.LINE_SEP;

/**
* Set the Javac instance which contains the configured compilation
@@ -517,7 +514,7 @@ public abstract class DefaultCompilerAdapter implements CompilerAdapter {
/**
* Add extdirs to classpath
* @param classpath the classpath to use
* @deprecated since 1.5.x.
* @deprecated since 1.5.x.
* Use org.apache.tools.ant.types.Path#addExtdirs instead.
*/
protected void addExtdirsToClasspath(Path classpath) {


Loading…
Cancel
Save