ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Javadoc.java
Date Thu, 27 Jan 2000 03:54:43 GMT
stefano     00/01/26 19:54:43

  Modified:    src/main/org/apache/tools/ant/taskdefs Javadoc.java
  Log:
  used the new boolean method
  
  Revision  Changes    Path
  1.2       +16 -16    jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java
  
  Index: Javadoc.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Javadoc.java	2000/01/23 11:39:13	1.1
  +++ Javadoc.java	2000/01/27 03:54:43	1.2
  @@ -139,16 +139,16 @@
           overviewFile = project.resolveFile(src);
       }
       public void setPublic(String src) {
  -        pub = new Boolean(src).booleanValue();
  +        pub = Project.toBoolean(src);
       }
       public void setProtected(String src) {
  -        prot = new Boolean(src).booleanValue();
  +        prot = Project.toBoolean(src);
       }
       public void setPackage(String src) {
  -        pack = new Boolean(src).booleanValue();
  +        pack = Project.toBoolean(src);
       }
       public void setPrivate(String src) {
  -        priv = new Boolean(src).booleanValue();
  +        priv = Project.toBoolean(src);
       }
       public void setDoclet(String src) {
           doclet = src;
  @@ -157,7 +157,7 @@
           docletpath = project.resolveFile(src);
       }
       public void setOld(String src) {
  -        old = new Boolean(src).booleanValue();
  +        old = Project.toBoolean(src);
       }
       public void setClasspath(String src) {
           classpath = Project.translatePath(src);
  @@ -169,7 +169,7 @@
           extdirs = src;
       }
       public void setVerbose(String src) {
  -        verbose = new Boolean(src).booleanValue();
  +        verbose = Project.toBoolean(src);
       }
       public void setLocale(String src) {
           locale = src;
  @@ -178,16 +178,16 @@
           encoding = src;
       }
       public void setVersion(String src) {
  -        version = new Boolean(src).booleanValue();
  +        version = Project.toBoolean(src);
       }
       public void setUse(String src) {
  -        use = new Boolean(src).booleanValue();
  +        use = Project.toBoolean(src);
       }
       public void setAuthor(String src) {
  -        author = new Boolean(src).booleanValue();
  +        author = Project.toBoolean(src);
       }
       public void setSplitindex(String src) {
  -        splitindex = new Boolean(src).booleanValue();
  +        splitindex = Project.toBoolean(src);
       }
       public void setWindowtitle(String src) {
           windowtitle = src;
  @@ -214,22 +214,22 @@
           group = src;
       }
       public void setNodeprecated(String src) {
  -        nodeprecated = new Boolean(src).booleanValue();
  +        nodeprecated = Project.toBoolean(src);
       }
       public void setNodeprecatedlist(String src) {
  -        nodeprecatedlist = new Boolean(src).booleanValue();
  +        nodeprecatedlist = Project.toBoolean(src);
       }
       public void setNotree(String src) {
  -        notree = new Boolean(src).booleanValue();
  +        notree = Project.toBoolean(src);
       }
       public void setNoindex(String src) {
  -        noindex = new Boolean(src).booleanValue();
  +        noindex = Project.toBoolean(src);
       }
       public void setNohelp(String src) {
  -        nohelp = new Boolean(src).booleanValue();
  +        nohelp = Project.toBoolean(src);
       }
       public void setNonavbar(String src) {
  -        nonavbar = new Boolean(src).booleanValue();
  +        nonavbar = Project.toBoolean(src);
       }
       public void setStylesheetfile(String src) {
           stylesheetfile = project.resolveFile(src);
  
  
  

Mime
View raw message