From e16227211f07b34dcb21e3d936d8b4f521d5556e Mon Sep 17 00:00:00 2001 From: zzz Date: Tue, 15 Dec 2009 01:44:20 +0000 Subject: [PATCH] remove unused logs --- core/java/src/net/i2p/data/i2cp/AbuseReason.java | 4 +--- core/java/src/net/i2p/data/i2cp/AbuseSeverity.java | 4 +--- core/java/src/net/i2p/data/i2cp/BandwidthLimitsMessage.java | 2 -- core/java/src/net/i2p/data/i2cp/CreateLeaseSetMessage.java | 4 +--- core/java/src/net/i2p/data/i2cp/CreateSessionMessage.java | 4 +--- core/java/src/net/i2p/data/i2cp/DestroySessionMessage.java | 4 +--- core/java/src/net/i2p/data/i2cp/DisconnectMessage.java | 4 +--- .../src/net/i2p/data/i2cp/GetBandwidthLimitsMessage.java | 3 --- core/java/src/net/i2p/data/i2cp/GetDateMessage.java | 5 +---- core/java/src/net/i2p/data/i2cp/I2CPMessageException.java | 4 +--- core/java/src/net/i2p/data/i2cp/I2CPMessageHandler.java | 2 -- core/java/src/net/i2p/data/i2cp/I2CPMessageImpl.java | 4 +--- core/java/src/net/i2p/data/i2cp/MessageId.java | 4 +--- core/java/src/net/i2p/data/i2cp/MessagePayloadMessage.java | 2 -- core/java/src/net/i2p/data/i2cp/MessageStatusMessage.java | 4 +--- .../src/net/i2p/data/i2cp/ReceiveMessageBeginMessage.java | 4 +--- .../java/src/net/i2p/data/i2cp/ReceiveMessageEndMessage.java | 4 +--- .../src/net/i2p/data/i2cp/ReconfigureSessionMessage.java | 2 -- core/java/src/net/i2p/data/i2cp/ReportAbuseMessage.java | 4 +--- core/java/src/net/i2p/data/i2cp/RequestLeaseSetMessage.java | 2 -- .../src/net/i2p/data/i2cp/SendMessageExpiresMessage.java | 2 -- core/java/src/net/i2p/data/i2cp/SendMessageMessage.java | 4 +--- core/java/src/net/i2p/data/i2cp/SessionId.java | 5 +---- core/java/src/net/i2p/data/i2cp/SessionStatusMessage.java | 4 +--- core/java/src/net/i2p/data/i2cp/SetDateMessage.java | 4 +--- 25 files changed, 18 insertions(+), 71 deletions(-) diff --git a/core/java/src/net/i2p/data/i2cp/AbuseReason.java b/core/java/src/net/i2p/data/i2cp/AbuseReason.java index db69fedd91..58c23d5e83 100644 --- a/core/java/src/net/i2p/data/i2cp/AbuseReason.java +++ b/core/java/src/net/i2p/data/i2cp/AbuseReason.java @@ -16,7 +16,6 @@ import java.io.OutputStream; import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; import net.i2p.data.DataStructureImpl; -import net.i2p.util.Log; /** * Defines the structure for why abuse was reported either by the client to @@ -25,7 +24,6 @@ import net.i2p.util.Log; * @author jrandom */ public class AbuseReason extends DataStructureImpl { - private final static Log _log = new Log(AbuseReason.class); private String _reason; public AbuseReason() { @@ -64,4 +62,4 @@ public class AbuseReason extends DataStructureImpl { public String toString() { return "[AbuseReason: " + getReason() + "]"; } -} \ No newline at end of file +} diff --git a/core/java/src/net/i2p/data/i2cp/AbuseSeverity.java b/core/java/src/net/i2p/data/i2cp/AbuseSeverity.java index 2f9140e08d..0bdc4805c0 100644 --- a/core/java/src/net/i2p/data/i2cp/AbuseSeverity.java +++ b/core/java/src/net/i2p/data/i2cp/AbuseSeverity.java @@ -16,7 +16,6 @@ import java.io.OutputStream; import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; import net.i2p.data.DataStructureImpl; -import net.i2p.util.Log; /** * Provides a severity level (larger numbers are more severe) in association with @@ -26,7 +25,6 @@ import net.i2p.util.Log; * @author jrandom */ public class AbuseSeverity extends DataStructureImpl { - private final static Log _log = new Log(AbuseSeverity.class); private int _severityId; public AbuseSeverity() { @@ -65,4 +63,4 @@ public class AbuseSeverity extends DataStructureImpl { public String toString() { return "[AbuseSeverity: " + getSeverity() + "]"; } -} \ No newline at end of file +} diff --git a/core/java/src/net/i2p/data/i2cp/BandwidthLimitsMessage.java b/core/java/src/net/i2p/data/i2cp/BandwidthLimitsMessage.java index 02308c7b43..bd8a2ff0e6 100644 --- a/core/java/src/net/i2p/data/i2cp/BandwidthLimitsMessage.java +++ b/core/java/src/net/i2p/data/i2cp/BandwidthLimitsMessage.java @@ -11,7 +11,6 @@ import java.io.InputStream; import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; -import net.i2p.util.Log; /** * Tell the other side the limits @@ -19,7 +18,6 @@ import net.i2p.util.Log; * @author zzz */ public class BandwidthLimitsMessage extends I2CPMessageImpl { - private final static Log _log = new Log(BandwidthLimitsMessage.class); public final static int MESSAGE_TYPE = 23; private static final int LIMITS = 16; private int[] data; diff --git a/core/java/src/net/i2p/data/i2cp/CreateLeaseSetMessage.java b/core/java/src/net/i2p/data/i2cp/CreateLeaseSetMessage.java index 75818f4837..cf6759a26b 100644 --- a/core/java/src/net/i2p/data/i2cp/CreateLeaseSetMessage.java +++ b/core/java/src/net/i2p/data/i2cp/CreateLeaseSetMessage.java @@ -18,7 +18,6 @@ import net.i2p.data.DataHelper; import net.i2p.data.LeaseSet; import net.i2p.data.PrivateKey; import net.i2p.data.SigningPrivateKey; -import net.i2p.util.Log; /** * Defines the message a client sends to a router when authorizing @@ -27,7 +26,6 @@ import net.i2p.util.Log; * @author jrandom */ public class CreateLeaseSetMessage extends I2CPMessageImpl { - private final static Log _log = new Log(CreateLeaseSetMessage.class); public final static int MESSAGE_TYPE = 4; private SessionId _sessionId; private LeaseSet _leaseSet; @@ -138,4 +136,4 @@ public class CreateLeaseSetMessage extends I2CPMessageImpl { buf.append("]"); return buf.toString(); } -} \ No newline at end of file +} diff --git a/core/java/src/net/i2p/data/i2cp/CreateSessionMessage.java b/core/java/src/net/i2p/data/i2cp/CreateSessionMessage.java index 1de5dfdbd9..1b8004ce00 100644 --- a/core/java/src/net/i2p/data/i2cp/CreateSessionMessage.java +++ b/core/java/src/net/i2p/data/i2cp/CreateSessionMessage.java @@ -15,7 +15,6 @@ import java.io.InputStream; import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; -import net.i2p.util.Log; /** * Defines the message a client sends to a router when establishing a new @@ -24,7 +23,6 @@ import net.i2p.util.Log; * @author jrandom */ public class CreateSessionMessage extends I2CPMessageImpl { - private final static Log _log = new Log(CreateSessionMessage.class); public final static int MESSAGE_TYPE = 1; private SessionConfig _sessionConfig; @@ -91,4 +89,4 @@ public class CreateSessionMessage extends I2CPMessageImpl { buf.append("]"); return buf.toString(); } -} \ No newline at end of file +} diff --git a/core/java/src/net/i2p/data/i2cp/DestroySessionMessage.java b/core/java/src/net/i2p/data/i2cp/DestroySessionMessage.java index 3cd535afed..630e0e7186 100644 --- a/core/java/src/net/i2p/data/i2cp/DestroySessionMessage.java +++ b/core/java/src/net/i2p/data/i2cp/DestroySessionMessage.java @@ -15,7 +15,6 @@ import java.io.InputStream; import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; -import net.i2p.util.Log; /** * Defines the message a client sends to a router when destroying @@ -24,7 +23,6 @@ import net.i2p.util.Log; * @author jrandom */ public class DestroySessionMessage extends I2CPMessageImpl { - private final static Log _log = new Log(DestroySessionMessage.class); public final static int MESSAGE_TYPE = 3; private SessionId _sessionId; @@ -93,4 +91,4 @@ public class DestroySessionMessage extends I2CPMessageImpl { buf.append("]"); return buf.toString(); } -} \ No newline at end of file +} diff --git a/core/java/src/net/i2p/data/i2cp/DisconnectMessage.java b/core/java/src/net/i2p/data/i2cp/DisconnectMessage.java index 08f08f5e62..f9c32810d7 100644 --- a/core/java/src/net/i2p/data/i2cp/DisconnectMessage.java +++ b/core/java/src/net/i2p/data/i2cp/DisconnectMessage.java @@ -15,7 +15,6 @@ import java.io.InputStream; import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; -import net.i2p.util.Log; /** * Defines the message a client sends to a router when destroying @@ -24,7 +23,6 @@ import net.i2p.util.Log; * @author jrandom */ public class DisconnectMessage extends I2CPMessageImpl { - private final static Log _log = new Log(DisconnectMessage.class); public final static int MESSAGE_TYPE = 30; private String _reason; @@ -83,4 +81,4 @@ public class DisconnectMessage extends I2CPMessageImpl { buf.append("]"); return buf.toString(); } -} \ No newline at end of file +} diff --git a/core/java/src/net/i2p/data/i2cp/GetBandwidthLimitsMessage.java b/core/java/src/net/i2p/data/i2cp/GetBandwidthLimitsMessage.java index 64a89824d4..35f44b5222 100644 --- a/core/java/src/net/i2p/data/i2cp/GetBandwidthLimitsMessage.java +++ b/core/java/src/net/i2p/data/i2cp/GetBandwidthLimitsMessage.java @@ -8,15 +8,12 @@ package net.i2p.data.i2cp; import java.io.IOException; import java.io.InputStream; -import net.i2p.util.Log; - /** * Request the router tells us the current bw limits * * @author zzz */ public class GetBandwidthLimitsMessage extends I2CPMessageImpl { - private final static Log _log = new Log(GetBandwidthLimitsMessage.class); public final static int MESSAGE_TYPE = 8; public GetBandwidthLimitsMessage() { diff --git a/core/java/src/net/i2p/data/i2cp/GetDateMessage.java b/core/java/src/net/i2p/data/i2cp/GetDateMessage.java index 76ee1a58fc..f36ec02d92 100644 --- a/core/java/src/net/i2p/data/i2cp/GetDateMessage.java +++ b/core/java/src/net/i2p/data/i2cp/GetDateMessage.java @@ -12,14 +12,11 @@ package net.i2p.data.i2cp; import java.io.IOException; import java.io.InputStream; -import net.i2p.util.Log; - /** * Request the other side to send us what they think the current time is * */ public class GetDateMessage extends I2CPMessageImpl { - private final static Log _log = new Log(GetDateMessage.class); public final static int MESSAGE_TYPE = 32; public GetDateMessage() { @@ -57,4 +54,4 @@ public class GetDateMessage extends I2CPMessageImpl { buf.append("[GetDateMessage]"); return buf.toString(); } -} \ No newline at end of file +} diff --git a/core/java/src/net/i2p/data/i2cp/I2CPMessageException.java b/core/java/src/net/i2p/data/i2cp/I2CPMessageException.java index b490287313..63d13b0401 100644 --- a/core/java/src/net/i2p/data/i2cp/I2CPMessageException.java +++ b/core/java/src/net/i2p/data/i2cp/I2CPMessageException.java @@ -10,7 +10,6 @@ package net.i2p.data.i2cp; */ import net.i2p.I2PException; -import net.i2p.util.Log; /** * Represent an error serializing or deserializing an APIMessage @@ -18,7 +17,6 @@ import net.i2p.util.Log; * @author jrandom */ public class I2CPMessageException extends I2PException { - private final static Log _log = new Log(I2CPMessageException.class); public I2CPMessageException(String message, Throwable parent) { super(message, parent); @@ -27,4 +25,4 @@ public class I2CPMessageException extends I2PException { public I2CPMessageException(String message) { super(message); } -} \ No newline at end of file +} diff --git a/core/java/src/net/i2p/data/i2cp/I2CPMessageHandler.java b/core/java/src/net/i2p/data/i2cp/I2CPMessageHandler.java index 04da546f78..739f7823eb 100644 --- a/core/java/src/net/i2p/data/i2cp/I2CPMessageHandler.java +++ b/core/java/src/net/i2p/data/i2cp/I2CPMessageHandler.java @@ -15,14 +15,12 @@ import java.io.InputStream; import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; -import net.i2p.util.Log; /** * Handle messages from the server for the client or vice versa * */ public class I2CPMessageHandler { - private final static Log _log = new Log(I2CPMessageHandler.class); /** * Read an I2CPMessage from the stream and return the fully populated object. diff --git a/core/java/src/net/i2p/data/i2cp/I2CPMessageImpl.java b/core/java/src/net/i2p/data/i2cp/I2CPMessageImpl.java index af86863d21..3ace5df9d3 100644 --- a/core/java/src/net/i2p/data/i2cp/I2CPMessageImpl.java +++ b/core/java/src/net/i2p/data/i2cp/I2CPMessageImpl.java @@ -16,7 +16,6 @@ import java.io.OutputStream; import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; import net.i2p.data.DataStructureImpl; -import net.i2p.util.Log; /** * Defines the base message implementation. @@ -24,7 +23,6 @@ import net.i2p.util.Log; * @author jrandom */ public abstract class I2CPMessageImpl extends DataStructureImpl implements I2CPMessage { - private final static Log _log = new Log(I2CPMessageImpl.class); public I2CPMessageImpl() { // nop } @@ -129,4 +127,4 @@ public abstract class I2CPMessageImpl extends DataStructureImpl implements I2CPM throw new DataFormatException("Error writing the message", ime); } } -} \ No newline at end of file +} diff --git a/core/java/src/net/i2p/data/i2cp/MessageId.java b/core/java/src/net/i2p/data/i2cp/MessageId.java index d31d478f10..84bfa0dfe9 100644 --- a/core/java/src/net/i2p/data/i2cp/MessageId.java +++ b/core/java/src/net/i2p/data/i2cp/MessageId.java @@ -16,7 +16,6 @@ import java.io.OutputStream; import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; import net.i2p.data.DataStructureImpl; -import net.i2p.util.Log; /** * Defines the message ID of a message delivered between a router and a client @@ -25,7 +24,6 @@ import net.i2p.util.Log; * @author jrandom */ public class MessageId extends DataStructureImpl { - private final static Log _log = new Log(MessageId.class); private long _messageId; public MessageId() { @@ -67,4 +65,4 @@ public class MessageId extends DataStructureImpl { public String toString() { return "[MessageId: " + getMessageId() + "]"; } -} \ No newline at end of file +} diff --git a/core/java/src/net/i2p/data/i2cp/MessagePayloadMessage.java b/core/java/src/net/i2p/data/i2cp/MessagePayloadMessage.java index 37b7828f94..fd0327d1c4 100644 --- a/core/java/src/net/i2p/data/i2cp/MessagePayloadMessage.java +++ b/core/java/src/net/i2p/data/i2cp/MessagePayloadMessage.java @@ -16,7 +16,6 @@ import java.io.OutputStream; import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; import net.i2p.data.Payload; -import net.i2p.util.Log; /** * Defines the payload message a router sends to the client @@ -24,7 +23,6 @@ import net.i2p.util.Log; * @author jrandom */ public class MessagePayloadMessage extends I2CPMessageImpl { - private final static Log _log = new Log(MessagePayloadMessage.class); public final static int MESSAGE_TYPE = 31; private long _sessionId; private long _messageId; diff --git a/core/java/src/net/i2p/data/i2cp/MessageStatusMessage.java b/core/java/src/net/i2p/data/i2cp/MessageStatusMessage.java index 54ecad07ca..b246aadb4a 100644 --- a/core/java/src/net/i2p/data/i2cp/MessageStatusMessage.java +++ b/core/java/src/net/i2p/data/i2cp/MessageStatusMessage.java @@ -15,7 +15,6 @@ import java.io.OutputStream; import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; -import net.i2p.util.Log; /** * Defines the message a client sends to a router when destroying @@ -24,7 +23,6 @@ import net.i2p.util.Log; * @author jrandom */ public class MessageStatusMessage extends I2CPMessageImpl { - private final static Log _log = new Log(SessionStatusMessage.class); public final static int MESSAGE_TYPE = 22; private long _sessionId; private long _messageId; @@ -179,4 +177,4 @@ public class MessageStatusMessage extends I2CPMessageImpl { buf.append("]"); return buf.toString(); } -} \ No newline at end of file +} diff --git a/core/java/src/net/i2p/data/i2cp/ReceiveMessageBeginMessage.java b/core/java/src/net/i2p/data/i2cp/ReceiveMessageBeginMessage.java index 1b3a41655f..8c6e0b2f1c 100644 --- a/core/java/src/net/i2p/data/i2cp/ReceiveMessageBeginMessage.java +++ b/core/java/src/net/i2p/data/i2cp/ReceiveMessageBeginMessage.java @@ -15,7 +15,6 @@ import java.io.OutputStream; import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; -import net.i2p.util.Log; /** * Defines the message a client sends to a router when asking the @@ -24,7 +23,6 @@ import net.i2p.util.Log; * @author jrandom */ public class ReceiveMessageBeginMessage extends I2CPMessageImpl { - private final static Log _log = new Log(ReceiveMessageBeginMessage.class); public final static int MESSAGE_TYPE = 6; private long _sessionId; private long _messageId; @@ -110,4 +108,4 @@ public class ReceiveMessageBeginMessage extends I2CPMessageImpl { buf.append("]"); return buf.toString(); } -} \ No newline at end of file +} diff --git a/core/java/src/net/i2p/data/i2cp/ReceiveMessageEndMessage.java b/core/java/src/net/i2p/data/i2cp/ReceiveMessageEndMessage.java index 0ca0253e52..cf1325cc8b 100644 --- a/core/java/src/net/i2p/data/i2cp/ReceiveMessageEndMessage.java +++ b/core/java/src/net/i2p/data/i2cp/ReceiveMessageEndMessage.java @@ -14,7 +14,6 @@ import java.io.InputStream; import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; -import net.i2p.util.Log; /** * Defines the message a client sends to a router when asking the @@ -23,7 +22,6 @@ import net.i2p.util.Log; * @author jrandom */ public class ReceiveMessageEndMessage extends I2CPMessageImpl { - private final static Log _log = new Log(ReceiveMessageEndMessage.class); public final static int MESSAGE_TYPE = 7; private long _sessionId; private long _messageId; @@ -94,4 +92,4 @@ public class ReceiveMessageEndMessage extends I2CPMessageImpl { buf.append("]"); return buf.toString(); } -} \ No newline at end of file +} diff --git a/core/java/src/net/i2p/data/i2cp/ReconfigureSessionMessage.java b/core/java/src/net/i2p/data/i2cp/ReconfigureSessionMessage.java index 5b5ad638c2..5f7314d648 100644 --- a/core/java/src/net/i2p/data/i2cp/ReconfigureSessionMessage.java +++ b/core/java/src/net/i2p/data/i2cp/ReconfigureSessionMessage.java @@ -15,7 +15,6 @@ import java.io.InputStream; import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; -import net.i2p.util.Log; /** * Defines the message a client sends to a router when @@ -24,7 +23,6 @@ import net.i2p.util.Log; * @author zzz */ public class ReconfigureSessionMessage extends I2CPMessageImpl { - private final static Log _log = new Log(ReconfigureSessionMessage.class); public final static int MESSAGE_TYPE = 2; private SessionId _sessionId; private SessionConfig _sessionConfig; diff --git a/core/java/src/net/i2p/data/i2cp/ReportAbuseMessage.java b/core/java/src/net/i2p/data/i2cp/ReportAbuseMessage.java index fd11ec142a..54b90292e7 100644 --- a/core/java/src/net/i2p/data/i2cp/ReportAbuseMessage.java +++ b/core/java/src/net/i2p/data/i2cp/ReportAbuseMessage.java @@ -15,7 +15,6 @@ import java.io.InputStream; import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; -import net.i2p.util.Log; /** * Defines the message a client sends to a router when asking the @@ -24,7 +23,6 @@ import net.i2p.util.Log; * @author jrandom */ public class ReportAbuseMessage extends I2CPMessageImpl { - private final static Log _log = new Log(ReportAbuseMessage.class); public final static int MESSAGE_TYPE = 29; private SessionId _sessionId; private AbuseSeverity _severity; @@ -133,4 +131,4 @@ public class ReportAbuseMessage extends I2CPMessageImpl { buf.append("]"); return buf.toString(); } -} \ No newline at end of file +} diff --git a/core/java/src/net/i2p/data/i2cp/RequestLeaseSetMessage.java b/core/java/src/net/i2p/data/i2cp/RequestLeaseSetMessage.java index 46f62d264d..e4db066cbf 100644 --- a/core/java/src/net/i2p/data/i2cp/RequestLeaseSetMessage.java +++ b/core/java/src/net/i2p/data/i2cp/RequestLeaseSetMessage.java @@ -20,7 +20,6 @@ import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; import net.i2p.data.Hash; import net.i2p.data.TunnelId; -import net.i2p.util.Log; /** * Defines the message a client sends to a router when destroying @@ -29,7 +28,6 @@ import net.i2p.util.Log; * @author jrandom */ public class RequestLeaseSetMessage extends I2CPMessageImpl { - private final static Log _log = new Log(RequestLeaseSetMessage.class); public final static int MESSAGE_TYPE = 21; private SessionId _sessionId; private List _endpoints; diff --git a/core/java/src/net/i2p/data/i2cp/SendMessageExpiresMessage.java b/core/java/src/net/i2p/data/i2cp/SendMessageExpiresMessage.java index 81271b1507..770a6777b4 100644 --- a/core/java/src/net/i2p/data/i2cp/SendMessageExpiresMessage.java +++ b/core/java/src/net/i2p/data/i2cp/SendMessageExpiresMessage.java @@ -18,7 +18,6 @@ import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; import net.i2p.data.Destination; import net.i2p.data.Payload; -import net.i2p.util.Log; /** * Same as SendMessageMessage, but with an expiration to be passed to the router @@ -26,7 +25,6 @@ import net.i2p.util.Log; * @author zzz */ public class SendMessageExpiresMessage extends SendMessageMessage { - private final static Log _log = new Log(SendMessageExpiresMessage.class); /* FIXME hides another field FIXME */ public final static int MESSAGE_TYPE = 36; private SessionId _sessionId; diff --git a/core/java/src/net/i2p/data/i2cp/SendMessageMessage.java b/core/java/src/net/i2p/data/i2cp/SendMessageMessage.java index 9abd7f4263..237306f0dc 100644 --- a/core/java/src/net/i2p/data/i2cp/SendMessageMessage.java +++ b/core/java/src/net/i2p/data/i2cp/SendMessageMessage.java @@ -17,7 +17,6 @@ import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; import net.i2p.data.Destination; import net.i2p.data.Payload; -import net.i2p.util.Log; /** * Defines the message a client sends to a router to ask it to deliver @@ -26,7 +25,6 @@ import net.i2p.util.Log; * @author jrandom */ public class SendMessageMessage extends I2CPMessageImpl { - private final static Log _log = new Log(SendMessageMessage.class); public final static int MESSAGE_TYPE = 5; private SessionId _sessionId; private Destination _destination; @@ -159,4 +157,4 @@ public class SendMessageMessage extends I2CPMessageImpl { buf.append("]"); return buf.toString(); } -} \ No newline at end of file +} diff --git a/core/java/src/net/i2p/data/i2cp/SessionId.java b/core/java/src/net/i2p/data/i2cp/SessionId.java index d4c75ea5f8..f79589c42b 100644 --- a/core/java/src/net/i2p/data/i2cp/SessionId.java +++ b/core/java/src/net/i2p/data/i2cp/SessionId.java @@ -1,5 +1,4 @@ package net.i2p.data.i2cp; - /* * free (adj.): unencumbered; not under the control of others * Written by jrandom in 2003 and released into the public domain @@ -16,7 +15,6 @@ import java.io.OutputStream; import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; import net.i2p.data.DataStructureImpl; -import net.i2p.util.Log; /** * Defines the token passed between the router and client to associate messages @@ -25,7 +23,6 @@ import net.i2p.util.Log; * @author jrandom */ public class SessionId extends DataStructureImpl { - private final static Log _log = new Log(SessionId.class); private int _sessionId; public SessionId() { @@ -64,4 +61,4 @@ public class SessionId extends DataStructureImpl { public String toString() { return "[SessionId: " + getSessionId() + "]"; } -} \ No newline at end of file +} diff --git a/core/java/src/net/i2p/data/i2cp/SessionStatusMessage.java b/core/java/src/net/i2p/data/i2cp/SessionStatusMessage.java index d3775db0fe..490e7e426a 100644 --- a/core/java/src/net/i2p/data/i2cp/SessionStatusMessage.java +++ b/core/java/src/net/i2p/data/i2cp/SessionStatusMessage.java @@ -15,7 +15,6 @@ import java.io.InputStream; import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; -import net.i2p.util.Log; /** * Defines the message a client sends to a router when destroying @@ -24,7 +23,6 @@ import net.i2p.util.Log; * @author jrandom */ public class SessionStatusMessage extends I2CPMessageImpl { - private final static Log _log = new Log(SessionStatusMessage.class); public final static int MESSAGE_TYPE = 20; private SessionId _sessionId; private int _status; @@ -104,4 +102,4 @@ public class SessionStatusMessage extends I2CPMessageImpl { buf.append("]"); return buf.toString(); } -} \ No newline at end of file +} diff --git a/core/java/src/net/i2p/data/i2cp/SetDateMessage.java b/core/java/src/net/i2p/data/i2cp/SetDateMessage.java index ff308c5d00..f0abce1a51 100644 --- a/core/java/src/net/i2p/data/i2cp/SetDateMessage.java +++ b/core/java/src/net/i2p/data/i2cp/SetDateMessage.java @@ -17,14 +17,12 @@ import java.util.Date; import net.i2p.data.DataFormatException; import net.i2p.data.DataHelper; import net.i2p.util.Clock; -import net.i2p.util.Log; /** * Tell the other side what time it is * */ public class SetDateMessage extends I2CPMessageImpl { - private final static Log _log = new Log(SetDateMessage.class); public final static int MESSAGE_TYPE = 33; private Date _date; @@ -86,4 +84,4 @@ public class SetDateMessage extends I2CPMessageImpl { buf.append("]"); return buf.toString(); } -} \ No newline at end of file +}