more override removals

This commit is contained in:
zzz
2008-11-09 15:42:50 +00:00
parent 28b4c92241
commit 2b8d59d9f4
3 changed files with 2 additions and 7 deletions

View File

@ -485,7 +485,6 @@ public class DHSessionKeyBuilder {
_maxSize = maxSize; _maxSize = maxSize;
} }
@Override
public void run() { public void run() {
while (true) { while (true) {
@ -536,4 +535,4 @@ public class DHSessionKeyBuilder {
super(msg); super(msg);
} }
} }
} }

View File

@ -31,11 +31,8 @@ public class HMAC256Generator extends HMACGenerator {
} }
private class Sha256ForMAC extends Sha256Standalone implements Digest { private class Sha256ForMAC extends Sha256Standalone implements Digest {
@Override
public String getAlgorithmName() { return "sha256 for hmac"; } public String getAlgorithmName() { return "sha256 for hmac"; }
@Override
public int getDigestSize() { return 32; } public int getDigestSize() { return 32; }
@Override
public int doFinal(byte[] out, int outOff) { public int doFinal(byte[] out, int outOff) {
byte rv[] = digest(); byte rv[] = digest();
System.arraycopy(rv, 0, out, outOff, rv.length); System.arraycopy(rv, 0, out, outOff, rv.length);
@ -53,4 +50,4 @@ public class HMAC256Generator extends HMACGenerator {
Hash mac = ctx.hmac256().calculate(key, data); Hash mac = ctx.hmac256().calculate(key, data);
System.out.println(Base64.encode(mac.getData())); System.out.println(Base64.encode(mac.getData()));
} }
} }

View File

@ -75,7 +75,6 @@ class TransientSessionKeyManager extends SessionKeyManager {
private TransientSessionKeyManager() { this(null); } private TransientSessionKeyManager() { this(null); }
private class CleanupEvent implements SimpleTimer.TimedEvent { private class CleanupEvent implements SimpleTimer.TimedEvent {
@Override
public void timeReached() { public void timeReached() {
long beforeExpire = _context.clock().now(); long beforeExpire = _context.clock().now();
int expired = aggressiveExpire(); int expired = aggressiveExpire();