From 7ad041a63e3584527e97f2d931906e499ef9e348 Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Tue, 24 May 2005 17:18:31 +0000 Subject: [PATCH] checkstyle javadoc git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278354 13f79535-47bb-0310-9956-ffa450edef68 --- .../tools/ant/taskdefs/optional/unix/AbstractAccessTask.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/unix/AbstractAccessTask.java b/src/main/org/apache/tools/ant/taskdefs/optional/unix/AbstractAccessTask.java index c37f02160..d04426adb 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/unix/AbstractAccessTask.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/unix/AbstractAccessTask.java @@ -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();