You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2002/03/21 09:20:42 UTC

cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/installer Installer.java

donaldp     02/03/21 00:20:42

  Modified:    src/java/org/apache/avalon/phoenix/tools/installer
                        Installer.java
  Log:
  Removed javadoc errors and some unused variables
  
  Revision  Changes    Path
  1.31      +3 -9      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/installer/Installer.java
  
  Index: Installer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/installer/Installer.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- Installer.java	16 Mar 2002 00:11:56 -0000	1.30
  +++ Installer.java	21 Mar 2002 08:20:42 -0000	1.31
  @@ -34,7 +34,7 @@
    * and installing it as appropriate.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.30 $ $Date: 2002/03/16 00:11:56 $
  + * @version $Revision: 1.31 $ $Date: 2002/03/21 08:20:42 $
    */
   public class Installer
       extends AbstractLogEnabled
  @@ -53,10 +53,6 @@
       private static final String SAR_INF = "SAR-INF";
       private static final String LIB = "SAR-INF/lib";
       private static final String CLASSES = "SAR-INF/classes/";
  -    private static final String ASSEMBLY_XML = "SAR-INF/assembly.xml";
  -    private static final String CONFIG_XML = "SAR-INF/config.xml";
  -    private static final String SERVER_XML = "SAR-INF/server.xml";
  -    private static final String ENV_XML = "SAR-INF/environment.xml";
   
       //The names on the native filesystem
       private static final String FS_CONFIG_XML = "SAR-INF" + File.separator + "config.xml";
  @@ -486,7 +482,7 @@
        * @param entry the zip entry
        * @param file the file to extract to
        * @param digests the digests for the expanded files.
  -     * @exception IOException if an error occurs
  +     * @exception InstallationException if an error occurs
        */
       private void expandZipEntry( final ZipFile zipFile,
                                    final ZipEntry entry,
  @@ -519,7 +515,6 @@
           }
   
           final long checksum = entry.getCrc();
  -        final long modified = file.lastModified();
           final FileDigest info = new FileDigest( file, checksum );
   
           digests.add( info );
  @@ -560,8 +555,7 @@
        *
        * @param urls the url list
        * @param directory the directory to scan
  -     * @param extentions the list of extensions to match
  -     * @exception MalformedURLException if an error occurs
  +     * @param extensions the list of extensions to match
        */
       private void getURLsAsStrings( final ArrayList urls, final File directory, final String[] extensions )
       {
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>