Changeset 021067d for core


Ignore:
Timestamp:
Apr 4, 2017 2:01:04 PM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
ec82912
Parents:
bfc0417
Message:

deprecate ZipFileComment?

Location:
core/java/src/net/i2p
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/crypto/TrustedUpdate.java

    rbfc0417 r021067d  
    2424import net.i2p.util.SecureFileOutputStream;
    2525import net.i2p.util.VersionComparator;
    26 import net.i2p.util.ZipFileComment;
     26//import net.i2p.util.ZipFileComment;
    2727
    2828/**
     
    612612     * @since 0.8.8
    613613     */
     614    @SuppressWarnings("deprecation")
    614615    private boolean verifyVersionMatch(File signedFile) {
    615616        try {
    616              String zipComment = ZipFileComment.getComment(signedFile, VERSION_BYTES, HEADER_BYTES);
     617             String zipComment = net.i2p.util.ZipFileComment.getComment(signedFile, VERSION_BYTES, HEADER_BYTES);
    617618             return zipComment.equals(_newVersion);
    618619        } catch (IOException ioe) {}
  • core/java/src/net/i2p/util/ZipFileComment.java

    rbfc0417 r021067d  
    2020 * Beerware.
    2121 *
    22  * since 0.8.8
     22 * @deprecated scheduled for removal late 2017, not for external use
     23 * @since 0.8.8
    2324 */
     25@Deprecated
    2426public abstract class ZipFileComment {
    2527
Note: See TracChangeset for help on using the changeset viewer.