Author: blured75
Date: 2005-11-05 20:37:19 +0000 (Sat, 05 Nov 2005)
New Revision: 7481
Modified:
trunk/freenet/src/freenet/keys/CHKDecodeException.java
trunk/freenet/src/freenet/keys/CHKEncodeException.java
trunk/freenet/src/freenet/keys/CHKVerifyException.java
trunk/freenet/src/freenet/keys/KeyDecodeException.java
trunk/freenet/src/freenet/keys/NodeCHK.java
Log:
Correcting non neccessary import clauses and unused variables
Modified: trunk/freenet/src/freenet/keys/CHKDecodeException.java
===================================================================
--- trunk/freenet/src/freenet/keys/CHKDecodeException.java 2005-11-05
20:34:05 UTC (rev 7480)
+++ trunk/freenet/src/freenet/keys/CHKDecodeException.java 2005-11-05
20:37:19 UTC (rev 7481)
@@ -6,7 +6,7 @@
* Exception thrown when decode fails.
*/
public class CHKDecodeException extends KeyDecodeException {
-
+ static final long serialVersionUID = -1;
/**
*
*/
Modified: trunk/freenet/src/freenet/keys/CHKEncodeException.java
===================================================================
--- trunk/freenet/src/freenet/keys/CHKEncodeException.java 2005-11-05
20:34:05 UTC (rev 7480)
+++ trunk/freenet/src/freenet/keys/CHKEncodeException.java 2005-11-05
20:37:19 UTC (rev 7481)
@@ -6,7 +6,7 @@
* Exception thrown when a CHK encoding fails.
*/
public class CHKEncodeException extends Exception {
-
+ static final long serialVersionUID = -1;
public CHKEncodeException() {
super();
}
Modified: trunk/freenet/src/freenet/keys/CHKVerifyException.java
===================================================================
--- trunk/freenet/src/freenet/keys/CHKVerifyException.java 2005-11-05
20:34:05 UTC (rev 7480)
+++ trunk/freenet/src/freenet/keys/CHKVerifyException.java 2005-11-05
20:37:19 UTC (rev 7481)
@@ -6,13 +6,13 @@
* Exception thrown when a CHK doesn't verify.
*/
public class CHKVerifyException extends Exception {
+ static final long serialVersionUID = -1;
- /**
+ /**
*
*/
public CHKVerifyException() {
super();
- // TODO Auto-generated constructor stub
}
/**
@@ -29,7 +29,6 @@
*/
public CHKVerifyException(String message, Throwable cause) {
super(message, cause);
- // TODO Auto-generated constructor stub
}
/**
@@ -37,7 +36,6 @@
*/
public CHKVerifyException(Throwable cause) {
super(cause);
- // TODO Auto-generated constructor stub
}
}
Modified: trunk/freenet/src/freenet/keys/KeyDecodeException.java
===================================================================
--- trunk/freenet/src/freenet/keys/KeyDecodeException.java 2005-11-05
20:34:05 UTC (rev 7480)
+++ trunk/freenet/src/freenet/keys/KeyDecodeException.java 2005-11-05
20:37:19 UTC (rev 7481)
@@ -4,7 +4,7 @@
* Base class for decode exceptions.
*/
public class KeyDecodeException extends Exception {
-
+ static final long serialVersionUID = -1;
public KeyDecodeException(String message) {
super(message);
}
Modified: trunk/freenet/src/freenet/keys/NodeCHK.java
===================================================================
--- trunk/freenet/src/freenet/keys/NodeCHK.java 2005-11-05 20:34:05 UTC (rev
7480)
+++ trunk/freenet/src/freenet/keys/NodeCHK.java 2005-11-05 20:37:19 UTC (rev
7481)
@@ -7,7 +7,6 @@
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
-import freenet.io.WritableToDataOutputStream;
import freenet.support.Base64;
import freenet.support.Fields;