From 72f5630bdb31d0bec9e564a13603542b6911567a Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Sat, 13 Oct 2001 01:56:00 +0000 Subject: [PATCH] Remove some tabs. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269786 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/tools/ant/taskdefs/Javadoc.java | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/Javadoc.java b/src/main/org/apache/tools/ant/taskdefs/Javadoc.java index 5e68d7d5c..93d6dabe0 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Javadoc.java +++ b/src/main/org/apache/tools/ant/taskdefs/Javadoc.java @@ -285,7 +285,7 @@ public class Javadoc extends Task { * shouldn't be used. */ public void setDefaultexcludes(boolean useDefaultExcludes) { - this.useDefaultExcludes = useDefaultExcludes; + this.useDefaultExcludes = useDefaultExcludes; } public void setMaxmemory(String max){ @@ -734,7 +734,7 @@ public class Javadoc extends Task { } Commandline toExecute = (Commandline)cmd.clone(); - toExecute.setExecutable( getJavadocExecutableName() ); + toExecute.setExecutable( getJavadocExecutableName() ); // ------------------------------------------------ general javadoc arguments if (classpath == null) @@ -1063,7 +1063,7 @@ public class Javadoc extends Task { if (name.endsWith(".java")) { return true; } - return false; // ignore dirs + return false; // ignore dirs } }); @@ -1155,23 +1155,23 @@ public class Javadoc extends Task { // besides the extension, we may need to revisit this code. String extension = dosBased? ".exe" : ""; - // Look for javadoc in the java.home/../bin directory. Unfortunately - // on Windows java.home doesn't always refer to the correct location, - // so we need to fall back to assuming javadoc is somewhere on the - // PATH. - File jdocExecutable = new File( System.getProperty("java.home") + - "/../bin/javadoc" + extension ); - - if (jdocExecutable.exists()) - { - return jdocExecutable.getAbsolutePath(); - } - else - { - log( "Unable to locate " + jdocExecutable.getAbsolutePath() + - ". Using \"javadoc\" instead.", Project.MSG_VERBOSE ); - return "javadoc"; - } + // Look for javadoc in the java.home/../bin directory. Unfortunately + // on Windows java.home doesn't always refer to the correct location, + // so we need to fall back to assuming javadoc is somewhere on the + // PATH. + File jdocExecutable = new File( System.getProperty("java.home") + + "/../bin/javadoc" + extension ); + + if (jdocExecutable.exists()) + { + return jdocExecutable.getAbsolutePath(); + } + else + { + log( "Unable to locate " + jdocExecutable.getAbsolutePath() + + ". Using \"javadoc\" instead.", Project.MSG_VERBOSE ); + return "javadoc"; + } } - + }