git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@474076 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -45,6 +45,7 @@ import org.apache.tools.ant.taskdefs.condition.Os; | |||||
| * @since Ant 1.3 | * @since Ant 1.3 | ||||
| */ | */ | ||||
| public abstract class DefaultCompilerAdapter implements CompilerAdapter { | public abstract class DefaultCompilerAdapter implements CompilerAdapter { | ||||
| // CheckStyle:VisibilityModifier OFF - bc | |||||
| private static final FileUtils FILE_UTILS = FileUtils.getFileUtils(); | private static final FileUtils FILE_UTILS = FileUtils.getFileUtils(); | ||||
| @@ -72,8 +73,12 @@ public abstract class DefaultCompilerAdapter implements CompilerAdapter { | |||||
| protected Javac attributes; | protected Javac attributes; | ||||
| //must keep for subclass BC, though unused: | //must keep for subclass BC, though unused: | ||||
| // CheckStyle:ConstantNameCheck OFF - bc | |||||
| protected static final String lSep = StringUtils.LINE_SEP; | protected static final String lSep = StringUtils.LINE_SEP; | ||||
| // CheckStyle:ConstantNameCheck ON | |||||
| // CheckStyle:VisibilityModifier ON | |||||
| /** | /** | ||||
| * Set the Javac instance which contains the configured compilation | * Set the Javac instance which contains the configured compilation | ||||
| * attributes. | * attributes. | ||||
| @@ -28,11 +28,14 @@ import org.apache.tools.ant.util.DateUtils; | |||||
| * @since Ant 1.5 | * @since Ant 1.5 | ||||
| */ | */ | ||||
| public abstract class Mailer { | public abstract class Mailer { | ||||
| // CheckStyle:VisibilityModifier OFF - bc | |||||
| protected String host = null; | protected String host = null; | ||||
| protected int port = -1; | protected int port = -1; | ||||
| protected String user = null; | protected String user = null; | ||||
| protected String password = null; | protected String password = null; | ||||
| // CheckStyle:MemberNameCheck OFF - bc | |||||
| protected boolean SSL = false; | protected boolean SSL = false; | ||||
| // CheckStyle:MemberNameCheck ON | |||||
| protected Message message; | protected Message message; | ||||
| protected EmailAddress from; | protected EmailAddress from; | ||||
| protected Vector replyToList = null; | protected Vector replyToList = null; | ||||
| @@ -44,6 +47,7 @@ public abstract class Mailer { | |||||
| protected Task task; | protected Task task; | ||||
| protected boolean includeFileNames = false; | protected boolean includeFileNames = false; | ||||
| protected Vector headers = null; | protected Vector headers = null; | ||||
| // CheckStyle:VisibilityModifier ON | |||||
| /** | /** | ||||
| * Set the mail server. | * Set the mail server. | ||||
| @@ -86,11 +90,11 @@ public abstract class Mailer { | |||||
| /** | /** | ||||
| * Set whether to send the mail through SSL. | * Set whether to send the mail through SSL. | ||||
| * | * | ||||
| * @param SSL if true use SSL transport. | |||||
| * @param ssl if true use SSL transport. | |||||
| * @since Ant 1.6 | * @since Ant 1.6 | ||||
| */ | */ | ||||
| public void setSSL(boolean SSL) { | |||||
| this.SSL = SSL; | |||||
| public void setSSL(boolean ssl) { | |||||
| this.SSL = ssl; | |||||
| } | } | ||||
| /** | /** | ||||
| @@ -22,7 +22,6 @@ import org.apache.tools.ant.BuildException; | |||||
| import org.apache.tools.ant.Task; | import org.apache.tools.ant.Task; | ||||
| import org.apache.tools.ant.taskdefs.Rmic; | import org.apache.tools.ant.taskdefs.Rmic; | ||||
| import org.apache.tools.ant.util.ClasspathUtils; | import org.apache.tools.ant.util.ClasspathUtils; | ||||
| import org.apache.tools.ant.util.JavaEnvUtils; | |||||
| import java.util.Locale; | import java.util.Locale; | ||||