Author: j16sdiz
Date: 2009-02-13 14:59:01 +0000 (Fri, 13 Feb 2009)
New Revision: 25620
Modified:
trunk/freenet/src/freenet/keys/ClientCHK.java
trunk/freenet/src/freenet/node/BlockedTooLongException.java
trunk/freenet/src/freenet/node/StillNotAckedException.java
Log:
fix warnings
Modified: trunk/freenet/src/freenet/keys/ClientCHK.java
===================================================================
--- trunk/freenet/src/freenet/keys/ClientCHK.java 2009-02-13 14:58:29 UTC
(rev 25619)
+++ trunk/freenet/src/freenet/keys/ClientCHK.java 2009-02-13 14:59:01 UTC
(rev 25620)
@@ -112,7 +112,7 @@
public byte[] getExtra() {
byte[] extra = new byte[EXTRA_LENGTH];
extra[0] = (byte) (cryptoAlgorithm >> 8);
- extra[1] = (byte) cryptoAlgorithm;
+ extra[1] = cryptoAlgorithm;
extra[2] = (byte) (controlDocument ? 2 : 0);
extra[3] = (byte) (compressionAlgorithm >> 8);
extra[4] = (byte) compressionAlgorithm;
Modified: trunk/freenet/src/freenet/node/BlockedTooLongException.java
===================================================================
--- trunk/freenet/src/freenet/node/BlockedTooLongException.java 2009-02-13
14:58:29 UTC (rev 25619)
+++ trunk/freenet/src/freenet/node/BlockedTooLongException.java 2009-02-13
14:59:01 UTC (rev 25620)
@@ -1,6 +1,7 @@
package freenet.node;
public class BlockedTooLongException extends Exception {
+ private static final long serialVersionUID = 1L;
public final PacketTracker tracker;
public final long delta;
Modified: trunk/freenet/src/freenet/node/StillNotAckedException.java
===================================================================
--- trunk/freenet/src/freenet/node/StillNotAckedException.java 2009-02-13
14:58:29 UTC (rev 25619)
+++ trunk/freenet/src/freenet/node/StillNotAckedException.java 2009-02-13
14:59:01 UTC (rev 25620)
@@ -11,6 +11,7 @@
* @author Matthew Toseland <[email protected]> (0xE43DA450)
*/
public class StillNotAckedException extends Exception {
+ private static final long serialVersionUID = 1L;
public StillNotAckedException(PacketTracker tracker) {
this.tracker = tracker;
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs