forked from I2P_Developers/i2p.i2p
merge of 'c0d12629a875b5dddde9fd729e05353d54a1bfc7'
and 'd07ed83f441d4c357e009e25aa4b55aee518dea3'
This commit is contained in:
@ -19,7 +19,6 @@ import java.io.InputStream;
|
||||
* @author jrandom
|
||||
*/
|
||||
public class Hash extends SimpleDataStructure {
|
||||
private volatile String _stringified;
|
||||
private volatile String _base64ed;
|
||||
private int _cachedHashCode;
|
||||
|
||||
@ -71,7 +70,6 @@ public class Hash extends SimpleDataStructure {
|
||||
@Override
|
||||
public void setData(byte[] data) {
|
||||
super.setData(data);
|
||||
_stringified = null;
|
||||
_base64ed = null;
|
||||
_cachedHashCode = super.hashCode();
|
||||
}
|
||||
@ -79,7 +77,6 @@ public class Hash extends SimpleDataStructure {
|
||||
@Override
|
||||
public void readBytes(InputStream in) throws DataFormatException, IOException {
|
||||
super.readBytes(in);
|
||||
_stringified = null;
|
||||
_base64ed = null;
|
||||
_cachedHashCode = super.hashCode();
|
||||
}
|
||||
|
Reference in New Issue
Block a user