donaldp 01/10/12 18:56:00
Modified: src/main/org/apache/tools/ant/taskdefs Javadoc.java
Log:
Remove some tabs.
Revision Changes Path
1.61 +21 -21
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java
Index: Javadoc.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- Javadoc.java 2001/10/13 01:53:37 1.60
+++ Javadoc.java 2001/10/13 01:56:00 1.61
@@ -285,7 +285,7 @@
* shouldn't be used.
*/
public void setDefaultexcludes(boolean useDefaultExcludes) {
- this.useDefaultExcludes = useDefaultExcludes;
+ this.useDefaultExcludes = useDefaultExcludes;
}
public void setMaxmemory(String max){
@@ -734,7 +734,7 @@
}
Commandline toExecute = (Commandline)cmd.clone();
- toExecute.setExecutable( getJavadocExecutableName() );
+ toExecute.setExecutable( getJavadocExecutableName() );
// ------------------------------------------------ general javadoc arguments
if (classpath == null)
@@ -1063,7 +1063,7 @@
if (name.endsWith(".java")) {
return true;
}
- return false; // ignore dirs
+ return false; // ignore dirs
}
});
@@ -1155,23 +1155,23 @@
// 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";
+ }
}
-
+
}