mirceatoma 01/10/31 13:54:35 Modified: src/java/org/apache/avalon/phoenix/tools/installer FileDigest.java Log: Change file's 'modified' attribute to a global Installation 'timestamp' attribute. Change class access to package level. Revision Changes Path 1.3 +6 -18 jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/installer/FileDigest.java Index: FileDigest.java =================================================================== RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/installer/FileDigest.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- FileDigest.java 2001/10/24 16:21:11 1.2 +++ FileDigest.java 2001/10/31 21:54:35 1.3 @@ -3,33 +3,30 @@ import java.io.File; /** - * FileDigest is a deployment information holder for a file. The information - * is used to verify if file was modified since deployed. + * FileDigest holds file deployment information. Information + * used to verify if file was modified since deployment. */ class FileDigest { private final File m_file; private final long m_checksum; - private final long m_modified; - + /** Create a new FileDigest object. * * @param the file. * @param the checksum value of the file. - * @param the modification time of the file. */ - public FileDigest( final File file, final long checksum, final long modified ) + FileDigest(final File file, final long checksum) { m_file = file; m_checksum = checksum; - m_modified = modified; } /** Retrieve the file. * * @return the file. */ - public File getFile() + File getFile() { return m_file; } @@ -38,18 +35,9 @@ * * @return the checksum value. */ - public long getChecksum() + long getChecksum() { return m_checksum; - } - - /** Retrieve the modification time at deployment time. - * - * @return the modification time. - */ - public long getModified() - { - return m_modified; } }
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>