forked from I2P_Developers/i2p.i2p
Cleanups after review and prep for release
This commit is contained in:
@@ -54,7 +54,7 @@ cp *jbigi???* ../../lib/
|
||||
echo 'Library copied to lib/'
|
||||
cd ../..
|
||||
|
||||
I2P=~/i2p/i2p
|
||||
I2P=~/i2p
|
||||
if [ ! -f $I2P/lib/i2p.jar ]
|
||||
then
|
||||
echo "I2P installation not found in $I2P - correct \$I2P definition in script to run speed test"
|
||||
|
@@ -452,8 +452,14 @@ public class Rate {
|
||||
&& _lifetimeTotalEventTime == r.getLifetimeTotalEventTime();
|
||||
}
|
||||
|
||||
/**
|
||||
* It doesn't appear that Rates are ever stored in a Set or Map
|
||||
* (RateStat stores in an array) so let's make this easy.
|
||||
* We can always make something faster if it's actually used.
|
||||
*/
|
||||
@Override
|
||||
public int hashCode() {
|
||||
/*****
|
||||
int hash = 5;
|
||||
hash = 67 * hash + (int)(Double.doubleToLongBits(this._currentTotalValue) ^ (Double.doubleToLongBits(this._currentTotalValue) >>> 32));
|
||||
hash = 67 * hash + (int)(this._currentEventCount ^ (this._currentEventCount >>> 32));
|
||||
@@ -470,6 +476,8 @@ public class Rate {
|
||||
hash = 67 * hash + (int)(this._creationDate ^ (this._creationDate >>> 32));
|
||||
hash = 67 * hash + (int)(this._period ^ (this._period >>> 32));
|
||||
return hash;
|
||||
******/
|
||||
return toString().hashCode();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user