ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs SignJar.java
Date Sat, 26 Jan 2002 19:30:57 GMT
sbailliez    02/01/26 11:30:57

  Modified:    src/main/org/apache/tools/ant/taskdefs SignJar.java
  Log:
  Fix static and unused variable
  
  Revision  Changes    Path
  1.14      +1 -3      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/SignJar.java
  
  Index: SignJar.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/SignJar.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- SignJar.java	10 Jan 2002 13:59:32 -0000	1.13
  +++ SignJar.java	26 Jan 2002 19:30:57 -0000	1.14
  @@ -187,7 +187,7 @@
       }
   
       private void doOneJar(File jarSource, File jarTarget) throws BuildException {
  -        if (project.getJavaVersion().equals(Project.JAVA_1_1)) {
  +        if (Project.getJavaVersion().equals(Project.JAVA_1_1)) {
               throw new BuildException("The signjar task is only available on JDK versions
1.2 or greater");
           }
   
  @@ -202,8 +202,6 @@
           if(isUpToDate(jarSource, jarTarget)) {
             return;
           }
  -
  -        final StringBuffer sb = new StringBuffer();
   
           final ExecTask cmd = (ExecTask) project.createTask("exec");
           cmd.setExecutable("jarsigner");
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message