Browse Source

whitespace

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1554521 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 11 years ago
parent
commit
65f4b403f2
1 changed files with 5 additions and 6 deletions
  1. +5
    -6
      src/main/org/apache/tools/ant/taskdefs/ManifestClassPath.java

+ 5
- 6
src/main/org/apache/tools/ant/taskdefs/ManifestClassPath.java View File

@@ -54,13 +54,13 @@ public class ManifestClassPath extends Task {
*/
public void execute() {
if (name == null) {
throw new BuildException("Missing 'property' attribute!");
throw new BuildException("Missing 'property' attribute!");
}
if (dir == null) {
throw new BuildException("Missing 'jarfile' attribute!");
throw new BuildException("Missing 'jarfile' attribute!");
}
if (getProject().getProperty(name) != null) {
throw new BuildException("Property '" + name + "' already set!");
throw new BuildException("Property '" + name + "' already set!");
}
if (path == null) {
throw new BuildException("Missing nested <classpath>!");
@@ -104,9 +104,8 @@ public class ManifestClassPath extends Task {
// No match, so bail out!
if (relPath.equals(canonicalPath)
|| relPath.startsWith(tooLongPrefix)) {
throw new BuildException(
"No suitable relative path from "
+ dir + " to " + fullPath);
throw new BuildException("No suitable relative path from "
+ dir + " to " + fullPath);
}

if (pathEntry.isDirectory() && !relPath.endsWith("/")) {


Loading…
Cancel
Save