Browse Source

some typos.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271363 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 24 years ago
parent
commit
466a2a978f
1 changed files with 7 additions and 4 deletions
  1. +7
    -4
      src/main/org/apache/tools/ant/taskdefs/Javac.java

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

@@ -102,6 +102,8 @@ import java.util.Vector;
* @author Robin Green <a href="mailto:greenrd@hotmail.com">greenrd@hotmail.com</a>
* @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
* @author <a href="mailto:jayglanville@home.com">J D Glanville</a>
*
* @version $Revision$
*/

public class Javac extends MatchingTask {
@@ -715,7 +717,7 @@ public class Javac extends MatchingTask {
}

/**
* Chose the implementation for this particular task.
* Choose the implementation for this particular task.
*
* @since 1.84, Ant 1.5
*/
@@ -727,7 +729,7 @@ public class Javac extends MatchingTask {
* The implementation for this particular task.
*
* <p>Defaults to the build.compiler property but can be overriden
* via the compiler and for attributes.</p>
* via the compiler and fork attributes.</p>
*
* @since 1.84, Ant 1.5
*/
@@ -739,12 +741,13 @@ public class Javac extends MatchingTask {
if (!"false".equals(fork)) {
if (compilerImpl != null) {
if (isJdkCompiler(compilerImpl)) {
log("Since fork is true, ignoring build.compiler setting.",
log("Since fork is true, ignoring compiler setting.",
Project.MSG_WARN);
compilerImpl = "extJavac";
}
else {
log("Since build.compiler setting isn't classic or modern, ignoring fork setting.", Project.MSG_WARN);
log("Since compiler setting isn't classic or modern,"
+ "ignoring fork setting.", Project.MSG_WARN);
}
}
else {


Loading…
Cancel
Save