forked from I2P_Developers/i2p.i2p
* DatabaseLookupmessage:
- Add support for requesting an encrypted reply
* NetDB:
- Add support for encrypted DatabaseSearchReplyMessage and DatabaseStoreMessage
in response to a DatabaseLookupMessage
* PRNG: Cleanups using Collections.singletonMap()
* Router utils: New RemovableSingletonSet
* TransientSessionKeyManager:
- Support variable expiration for inbound tag sets
- Several efficiency improvements
* VersionComparator: Add static method, use most places
This commit is contained in:
@@ -70,7 +70,6 @@ public class ConsoleUpdateManager implements UpdateManager {
|
||||
/** downloaded AND installed */
|
||||
private final Map<UpdateItem, Version> _installed;
|
||||
private static final DecimalFormat _pct = new DecimalFormat("0.0%");
|
||||
private static final VersionComparator _versionComparator = new VersionComparator();
|
||||
|
||||
private volatile String _status;
|
||||
|
||||
@@ -1289,7 +1288,7 @@ public class ConsoleUpdateManager implements UpdateManager {
|
||||
}
|
||||
|
||||
public int compareTo(Version r) {
|
||||
return _versionComparator.compare(version, r.version);
|
||||
return VersionComparator.comp(version, r.version);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user