From: David ‘Bombe’ Roden Date: Fri, 11 Apr 2008 09:50:44 +0000 (+0000) Subject: make all constructors of incoming message wrappers package-private X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=ad9779c1a0f0c731c77e9772b3bd9cecfee80be3;p=jSite2.git make all constructors of incoming message wrappers package-private git-svn-id: http://trooper/svn/projects/jSite/trunk@712 c3eda9e8-030b-0410-8277-bc7414b0a119 --- diff --git a/src/net/pterodactylus/util/fcp/AllData.java b/src/net/pterodactylus/util/fcp/AllData.java index 77c899c..37ffa08 100644 --- a/src/net/pterodactylus/util/fcp/AllData.java +++ b/src/net/pterodactylus/util/fcp/AllData.java @@ -30,7 +30,7 @@ public class AllData extends BaseMessage { * @param payloadInputStream * The payload */ - public AllData(FcpMessage receivedMessage, InputStream payloadInputStream) { + AllData(FcpMessage receivedMessage, InputStream payloadInputStream) { super(receivedMessage); this.payloadInputStream = payloadInputStream; } diff --git a/src/net/pterodactylus/util/fcp/BaseMessage.java b/src/net/pterodactylus/util/fcp/BaseMessage.java index 0882290..d64cef2 100644 --- a/src/net/pterodactylus/util/fcp/BaseMessage.java +++ b/src/net/pterodactylus/util/fcp/BaseMessage.java @@ -3,7 +3,6 @@ */ package net.pterodactylus.util.fcp; - /** * A basic message abstraction that wraps a received FCP message. * @@ -21,7 +20,7 @@ public class BaseMessage { * @param receivedMessage * The FCP message that was received */ - public BaseMessage(FcpMessage receivedMessage) { + BaseMessage(FcpMessage receivedMessage) { this.receivedMessage = receivedMessage; } diff --git a/src/net/pterodactylus/util/fcp/CloseConnectionDuplicateClientName.java b/src/net/pterodactylus/util/fcp/CloseConnectionDuplicateClientName.java index 6ae10ba..5813cd0 100644 --- a/src/net/pterodactylus/util/fcp/CloseConnectionDuplicateClientName.java +++ b/src/net/pterodactylus/util/fcp/CloseConnectionDuplicateClientName.java @@ -19,7 +19,7 @@ public class CloseConnectionDuplicateClientName extends BaseMessage { * @param receivedMessage * The received message */ - public CloseConnectionDuplicateClientName(FcpMessage receivedMessage) { + CloseConnectionDuplicateClientName(FcpMessage receivedMessage) { super(receivedMessage); } diff --git a/src/net/pterodactylus/util/fcp/DataFound.java b/src/net/pterodactylus/util/fcp/DataFound.java index f2be2d9..8ba4530 100644 --- a/src/net/pterodactylus/util/fcp/DataFound.java +++ b/src/net/pterodactylus/util/fcp/DataFound.java @@ -35,7 +35,7 @@ public class DataFound extends BaseMessage { * @param receivedMessage * The received message */ - public DataFound(FcpMessage receivedMessage) { + DataFound(FcpMessage receivedMessage) { super(receivedMessage); } diff --git a/src/net/pterodactylus/util/fcp/EndListPeerNotes.java b/src/net/pterodactylus/util/fcp/EndListPeerNotes.java index ce87734..85bc172 100644 --- a/src/net/pterodactylus/util/fcp/EndListPeerNotes.java +++ b/src/net/pterodactylus/util/fcp/EndListPeerNotes.java @@ -19,7 +19,7 @@ public class EndListPeerNotes extends BaseMessage { * @param fcpMessage * The received message */ - public EndListPeerNotes(FcpMessage fcpMessage) { + EndListPeerNotes(FcpMessage fcpMessage) { super(fcpMessage); } diff --git a/src/net/pterodactylus/util/fcp/EndListPeers.java b/src/net/pterodactylus/util/fcp/EndListPeers.java index 936feb9..b877769 100644 --- a/src/net/pterodactylus/util/fcp/EndListPeers.java +++ b/src/net/pterodactylus/util/fcp/EndListPeers.java @@ -18,7 +18,7 @@ public class EndListPeers extends BaseMessage { * @param receivedMessage * The message that was received */ - public EndListPeers(FcpMessage receivedMessage) { + EndListPeers(FcpMessage receivedMessage) { super(receivedMessage); } diff --git a/src/net/pterodactylus/util/fcp/EndListPersistentRequests.java b/src/net/pterodactylus/util/fcp/EndListPersistentRequests.java index 7c4f72b..9dca04f 100644 --- a/src/net/pterodactylus/util/fcp/EndListPersistentRequests.java +++ b/src/net/pterodactylus/util/fcp/EndListPersistentRequests.java @@ -19,7 +19,7 @@ public class EndListPersistentRequests extends BaseMessage { * @param receivedMessage * The received message */ - public EndListPersistentRequests(FcpMessage receivedMessage) { + EndListPersistentRequests(FcpMessage receivedMessage) { super(receivedMessage); } diff --git a/src/net/pterodactylus/util/fcp/FinishedCompression.java b/src/net/pterodactylus/util/fcp/FinishedCompression.java index e02d6e1..f168964 100644 --- a/src/net/pterodactylus/util/fcp/FinishedCompression.java +++ b/src/net/pterodactylus/util/fcp/FinishedCompression.java @@ -35,7 +35,7 @@ public class FinishedCompression extends BaseMessage { * @param receivedMessage * The message that was recevied */ - public FinishedCompression(FcpMessage receivedMessage) { + FinishedCompression(FcpMessage receivedMessage) { super(receivedMessage); } diff --git a/src/net/pterodactylus/util/fcp/NodeData.java b/src/net/pterodactylus/util/fcp/NodeData.java index 867d07a..5c8a084 100644 --- a/src/net/pterodactylus/util/fcp/NodeData.java +++ b/src/net/pterodactylus/util/fcp/NodeData.java @@ -36,7 +36,7 @@ public class NodeData extends BaseMessage { * @param receivedMessage * The received message */ - public NodeData(FcpMessage receivedMessage) { + NodeData(FcpMessage receivedMessage) { super(receivedMessage); nodeRef = new NodeRef(receivedMessage); } diff --git a/src/net/pterodactylus/util/fcp/NodeHello.java b/src/net/pterodactylus/util/fcp/NodeHello.java index 921ac89..8fdd863 100644 --- a/src/net/pterodactylus/util/fcp/NodeHello.java +++ b/src/net/pterodactylus/util/fcp/NodeHello.java @@ -17,7 +17,7 @@ public class NodeHello extends BaseMessage { * @param receivedMessage * The received FCP message */ - public NodeHello(FcpMessage receivedMessage) { + NodeHello(FcpMessage receivedMessage) { super(receivedMessage); } diff --git a/src/net/pterodactylus/util/fcp/Peer.java b/src/net/pterodactylus/util/fcp/Peer.java index ead7be0..d6b26b4 100644 --- a/src/net/pterodactylus/util/fcp/Peer.java +++ b/src/net/pterodactylus/util/fcp/Peer.java @@ -17,7 +17,7 @@ public class Peer extends BaseMessage { * @param receivedMessage * The received message */ - public Peer(FcpMessage receivedMessage) { + Peer(FcpMessage receivedMessage) { super(receivedMessage); } diff --git a/src/net/pterodactylus/util/fcp/PeerNote.java b/src/net/pterodactylus/util/fcp/PeerNote.java index 276e33c..4efbc4f 100644 --- a/src/net/pterodactylus/util/fcp/PeerNote.java +++ b/src/net/pterodactylus/util/fcp/PeerNote.java @@ -21,7 +21,7 @@ public class PeerNote extends BaseMessage { * @param receivedMessage * The received message */ - public PeerNote(FcpMessage receivedMessage) { + PeerNote(FcpMessage receivedMessage) { super(receivedMessage); } diff --git a/src/net/pterodactylus/util/fcp/PeerRemoved.java b/src/net/pterodactylus/util/fcp/PeerRemoved.java index 873dd07..441b984 100644 --- a/src/net/pterodactylus/util/fcp/PeerRemoved.java +++ b/src/net/pterodactylus/util/fcp/PeerRemoved.java @@ -17,7 +17,7 @@ public class PeerRemoved extends BaseMessage { * @param receivedMessage * The received message */ - public PeerRemoved(FcpMessage receivedMessage) { + PeerRemoved(FcpMessage receivedMessage) { super(receivedMessage); } diff --git a/src/net/pterodactylus/util/fcp/PersistentPut.java b/src/net/pterodactylus/util/fcp/PersistentPut.java index ee56439..0522a17 100644 --- a/src/net/pterodactylus/util/fcp/PersistentPut.java +++ b/src/net/pterodactylus/util/fcp/PersistentPut.java @@ -18,7 +18,7 @@ public class PersistentPut extends BaseMessage { * @param receivedMessage * The received message */ - public PersistentPut(FcpMessage receivedMessage) { + PersistentPut(FcpMessage receivedMessage) { super(receivedMessage); } diff --git a/src/net/pterodactylus/util/fcp/ProtocolError.java b/src/net/pterodactylus/util/fcp/ProtocolError.java index c29e399..7befff4 100644 --- a/src/net/pterodactylus/util/fcp/ProtocolError.java +++ b/src/net/pterodactylus/util/fcp/ProtocolError.java @@ -17,7 +17,7 @@ public class ProtocolError extends BaseMessage { * @param receivedMessage * The received message */ - public ProtocolError(FcpMessage receivedMessage) { + ProtocolError(FcpMessage receivedMessage) { super(receivedMessage); } diff --git a/src/net/pterodactylus/util/fcp/SSKKeypair.java b/src/net/pterodactylus/util/fcp/SSKKeypair.java index 4d132b3..624d4e4 100644 --- a/src/net/pterodactylus/util/fcp/SSKKeypair.java +++ b/src/net/pterodactylus/util/fcp/SSKKeypair.java @@ -19,7 +19,7 @@ public class SSKKeypair extends BaseMessage { * @param receivedMessage * The received message */ - public SSKKeypair(FcpMessage receivedMessage) { + SSKKeypair(FcpMessage receivedMessage) { super(receivedMessage); } diff --git a/src/net/pterodactylus/util/fcp/SimpleProgress.java b/src/net/pterodactylus/util/fcp/SimpleProgress.java index d1cd2f1..6399750 100644 --- a/src/net/pterodactylus/util/fcp/SimpleProgress.java +++ b/src/net/pterodactylus/util/fcp/SimpleProgress.java @@ -34,7 +34,7 @@ public class SimpleProgress extends BaseMessage { * @param receivedMessage * The received message */ - public SimpleProgress(FcpMessage receivedMessage) { + SimpleProgress(FcpMessage receivedMessage) { super(receivedMessage); } diff --git a/src/net/pterodactylus/util/fcp/StartedCompression.java b/src/net/pterodactylus/util/fcp/StartedCompression.java index 36fc5e6..f56fc49 100644 --- a/src/net/pterodactylus/util/fcp/StartedCompression.java +++ b/src/net/pterodactylus/util/fcp/StartedCompression.java @@ -35,7 +35,7 @@ public class StartedCompression extends BaseMessage { * @param receivedMessage * The received message */ - public StartedCompression(FcpMessage receivedMessage) { + StartedCompression(FcpMessage receivedMessage) { super(receivedMessage); } diff --git a/src/net/pterodactylus/util/fcp/TestDDAComplete.java b/src/net/pterodactylus/util/fcp/TestDDAComplete.java index 0c600b3..062e6fa 100644 --- a/src/net/pterodactylus/util/fcp/TestDDAComplete.java +++ b/src/net/pterodactylus/util/fcp/TestDDAComplete.java @@ -18,7 +18,7 @@ public class TestDDAComplete extends BaseMessage { * @param receivedMessage * The received message */ - public TestDDAComplete(FcpMessage receivedMessage) { + TestDDAComplete(FcpMessage receivedMessage) { super(receivedMessage); } diff --git a/src/net/pterodactylus/util/fcp/TestDDAReply.java b/src/net/pterodactylus/util/fcp/TestDDAReply.java index 15519ff..6cc13ed 100644 --- a/src/net/pterodactylus/util/fcp/TestDDAReply.java +++ b/src/net/pterodactylus/util/fcp/TestDDAReply.java @@ -37,7 +37,7 @@ public class TestDDAReply extends BaseMessage { * @param receivedMessage * The received message */ - public TestDDAReply(FcpMessage receivedMessage) { + TestDDAReply(FcpMessage receivedMessage) { super(receivedMessage); } diff --git a/src/net/pterodactylus/util/fcp/URIGenerated.java b/src/net/pterodactylus/util/fcp/URIGenerated.java index 2e75043..1355c50 100644 --- a/src/net/pterodactylus/util/fcp/URIGenerated.java +++ b/src/net/pterodactylus/util/fcp/URIGenerated.java @@ -19,7 +19,7 @@ public class URIGenerated extends BaseMessage { * @param receivedMessage * The received message */ - public URIGenerated(FcpMessage receivedMessage) { + URIGenerated(FcpMessage receivedMessage) { super(receivedMessage); }