You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Kare Nuorteva <ka...@satama.com> on 1999/12/27 23:36:45 UTC

public properties?

Why are srcFile and mod properties in org.apache.tools.ant.Chmod defined
as public?
Shouldn't these be private?
If not - why not?

> public class Chmod extends Task {
>
>    public File srcFile;
>    public String mod;

and these properties are still having setter methods.

> public void setSrc(String src)
> public void setPerm(String perm)

Cheers,
Kare 8^)