Browse Source

fmt

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

+ 3
- 6
src/main/org/apache/tools/ant/types/Resource.java View File

@@ -34,8 +34,7 @@ import java.util.NoSuchElementException;
* @since Ant 1.5.2
* @see org.apache.tools.ant.types.resources.Touchable
*/
public class Resource extends DataType
implements Cloneable, Comparable, ResourceCollection {
public class Resource extends DataType implements Cloneable, Comparable, ResourceCollection {

/** Constant unknown size */
public static final long UNKNOWN_SIZE = -1;
@@ -102,8 +101,7 @@ public class Resource extends DataType
* @param lastmodified the last modification time of the resource
* @param directory if true, this resource is a directory
*/
public Resource(String name, boolean exists, long lastmodified,
boolean directory) {
public Resource(String name, boolean exists, long lastmodified, boolean directory) {
this(name, exists, lastmodified, directory, UNKNOWN_SIZE);
}

@@ -117,8 +115,7 @@ public class Resource extends DataType
* @param directory if true, this resource is a directory
* @param size the size of this resource.
*/
public Resource(String name, boolean exists, long lastmodified,
boolean directory, long size) {
public Resource(String name, boolean exists, long lastmodified, boolean directory, long size) {
this.name = name;
setName(name);
setExists(exists);


Loading…
Cancel
Save