Browse Source

apply apache rules as to position of + on a multiline string

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278271 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 20 years ago
parent
commit
2a0461182a
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/main/org/apache/tools/ant/taskdefs/CopyPath.java

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

@@ -173,10 +173,10 @@ public class CopyPath extends Task {
preserveLastModified, null,
null, getProject());
} catch (IOException ioe) {
String msg = "Failed to copy " +
sourceFile +
" to " +
destFile
String msg = "Failed to copy "
+ sourceFile
+ " to "
+ destFile
+ " due to " + ioe.getMessage();
if (destFile.exists() && !destFile.delete()) {
msg += " and I couldn't delete the corrupt " + destFile;


Loading…
Cancel
Save