Browse Source

checkstyle javadoc

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278354 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 20 years ago
parent
commit
7ad041a63e
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/unix/AbstractAccessTask.java

+ 4
- 1
src/main/org/apache/tools/ant/taskdefs/optional/unix/AbstractAccessTask.java View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2004 The Apache Software Foundation
* Copyright 2002-2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -54,6 +54,7 @@ public abstract class AbstractAccessTask

/**
* Set the file which should have its access attributes modified.
* @param src the file to modify
*/
public void setFile(File src) {
FileSet fs = new FileSet();
@@ -98,6 +99,8 @@ public abstract class AbstractAccessTask

/**
* Automatically approve Unix OS's.
* @return true if a valid OS, for unix this is always true, otherwise
* use the superclasses' test (user set).
*/
protected boolean isValidOs() {
return Os.isFamily("unix") && super.isValidOs();


Loading…
Cancel
Save