bodewig 2003/11/03 07:22:28
Modified: src/main/org/apache/tools/ant/taskdefs/optional/jdepend
JDependTask.java
Log:
Indentation changes
Revision Changes Path
1.25 +27 -20
ant/src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java
Index: JDependTask.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- JDependTask.java 3 Nov 2003 15:19:50 -0000 1.24
+++ JDependTask.java 3 Nov 2003 15:22:28 -0000 1.25
@@ -560,32 +560,39 @@
}
if (getSourcespath() != null) {
- // This is deprecated - use classespath in the future
- String[] sourcesPath = getSourcespath().list();
- for (int i = 0; i < sourcesPath.length; i++) {
- File f = new File(sourcesPath[i]);
+ // This is deprecated - use classespath in the future
+ String[] sourcesPath = getSourcespath().list();
+ for (int i = 0; i < sourcesPath.length; i++) {
+ File f = new File(sourcesPath[i]);
- // not necessary as JDepend would fail, but why loose some time?
- if (!f.exists() || !f.isDirectory()) {
- throw new BuildException("\"" + f.getPath() + "\" does not "
- + "represent a valid directory.
JDepend would fail.");
+ // not necessary as JDepend would fail, but why loose
+ // some time?
+ if (!f.exists() || !f.isDirectory()) {
+ throw new BuildException("\"" + f.getPath()
+ + "\" does not represent a
valid"
+ + " directory. JDepend would"
+ + " fail.");
+ }
+ commandline.createArgument().setValue(f.getPath());
}
- commandline.createArgument().setValue(f.getPath());
- }
}
if (getClassespath() != null) {
- // This is the new way - use classespath - code is the same for now
- String[] classesPath = getClassespath().list();
- for (int i = 0; i < classesPath.length; i++) {
- File f = new File(classesPath[i]);
- // not necessary as JDepend would fail, but why loose some time?
- if (!f.exists() || !f.isDirectory()) {
- throw new BuildException("\"" + f.getPath() + "\" does not "
- + "represent a valid directory.
JDepend would fail.");
+ // This is the new way - use classespath - code is the
+ // same for now
+ String[] classesPath = getClassespath().list();
+ for (int i = 0; i < classesPath.length; i++) {
+ File f = new File(classesPath[i]);
+ // not necessary as JDepend would fail, but why loose
+ // some time?
+ if (!f.exists() || !f.isDirectory()) {
+ throw new BuildException("\"" + f.getPath()
+ + "\" does not represent a
valid"
+ + " directory. JDepend would"
+ + " fail.");
+ }
+ commandline.createArgument().setValue(f.getPath());
}
- commandline.createArgument().setValue(f.getPath());
- }
}
Execute execute = new Execute(new LogStreamHandler(this,
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]