Author: mbenson Date: Mon Sep 11 15:24:32 2006 New Revision: 442375 URL: http://svn.apache.org/viewvc?view=rev&rev=442375 Log: Restore non-BC removal of protected lSep property; WS
Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java?view=diff&rev=442375&r1=442374&r2=442375 ============================================================================== --- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java (original) +++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java Mon Sep 11 15:24:32 2006 @@ -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 @@ 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 @@ 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 @@ /** * 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) { --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]