Browse Source

Minor simplification: task.log(...) ~ task.getProject().log(...).

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277133 13f79535-47bb-0310-9956-ffa450edef68
master
Jesse N. Glick 20 years ago
parent
commit
6fdb6869ea
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/BuildNumber.java

+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/BuildNumber.java View File

@@ -98,7 +98,7 @@ public class BuildNumber
try {
output.close();
} catch (final IOException ioe) {
getProject().log("error closing output stream " + ioe, Project.MSG_ERR);
log("error closing output stream " + ioe, Project.MSG_ERR);
}
}
myFile = savedFile;
@@ -157,7 +157,7 @@ public class BuildNumber
try {
input.close();
} catch (final IOException ioe) {
getProject().log("error closing input stream " + ioe, Project.MSG_ERR);
log("error closing input stream " + ioe, Project.MSG_ERR);
}
}
}


Loading…
Cancel
Save