Browse Source

ws

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@368474 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 19 years ago
parent
commit
ddac2d0b2d
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/main/org/apache/tools/ant/types/resources/FileResource.java

+ 3
- 3
src/main/org/apache/tools/ant/types/resources/FileResource.java View File

@@ -277,10 +277,10 @@ public class FileResource extends Resource implements Touchable {
* @return this FileResource formatted as a String. * @return this FileResource formatted as a String.
*/ */
public String toString() { public String toString() {
if(isReference()) {
return getCheckedRef().toString();
if (isReference()) {
return getCheckedRef().toString();
} }
if(file==null) {
if (file == null) {
return "(unbound file resource)"; return "(unbound file resource)";
} }
String absolutePath = file.getAbsolutePath(); String absolutePath = file.getAbsolutePath();


Loading…
Cancel
Save