make all constructors of incoming message wrappers package-private
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 11 Apr 2008 09:50:44 +0000 (09:50 +0000)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 11 Apr 2008 09:50:44 +0000 (09:50 +0000)
git-svn-id: http://trooper/svn/projects/jSite/trunk@712 c3eda9e8-030b-0410-8277-bc7414b0a119

21 files changed:
src/net/pterodactylus/util/fcp/AllData.java
src/net/pterodactylus/util/fcp/BaseMessage.java
src/net/pterodactylus/util/fcp/CloseConnectionDuplicateClientName.java
src/net/pterodactylus/util/fcp/DataFound.java
src/net/pterodactylus/util/fcp/EndListPeerNotes.java
src/net/pterodactylus/util/fcp/EndListPeers.java
src/net/pterodactylus/util/fcp/EndListPersistentRequests.java
src/net/pterodactylus/util/fcp/FinishedCompression.java
src/net/pterodactylus/util/fcp/NodeData.java
src/net/pterodactylus/util/fcp/NodeHello.java
src/net/pterodactylus/util/fcp/Peer.java
src/net/pterodactylus/util/fcp/PeerNote.java
src/net/pterodactylus/util/fcp/PeerRemoved.java
src/net/pterodactylus/util/fcp/PersistentPut.java
src/net/pterodactylus/util/fcp/ProtocolError.java
src/net/pterodactylus/util/fcp/SSKKeypair.java
src/net/pterodactylus/util/fcp/SimpleProgress.java
src/net/pterodactylus/util/fcp/StartedCompression.java
src/net/pterodactylus/util/fcp/TestDDAComplete.java
src/net/pterodactylus/util/fcp/TestDDAReply.java
src/net/pterodactylus/util/fcp/URIGenerated.java

index 77c899c..37ffa08 100644 (file)
@@ -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;
        }
index 0882290..d64cef2 100644 (file)
@@ -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;
        }
 
index 6ae10ba..5813cd0 100644 (file)
@@ -19,7 +19,7 @@ public class CloseConnectionDuplicateClientName extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       public CloseConnectionDuplicateClientName(FcpMessage receivedMessage) {
+       CloseConnectionDuplicateClientName(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index f2be2d9..8ba4530 100644 (file)
@@ -35,7 +35,7 @@ public class DataFound extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       public DataFound(FcpMessage receivedMessage) {
+       DataFound(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index ce87734..85bc172 100644 (file)
@@ -19,7 +19,7 @@ public class EndListPeerNotes extends BaseMessage {
         * @param fcpMessage
         *            The received message
         */
-       public EndListPeerNotes(FcpMessage fcpMessage) {
+       EndListPeerNotes(FcpMessage fcpMessage) {
                super(fcpMessage);
        }
 
index 936feb9..b877769 100644 (file)
@@ -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);
        }
 
index 7c4f72b..9dca04f 100644 (file)
@@ -19,7 +19,7 @@ public class EndListPersistentRequests extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       public EndListPersistentRequests(FcpMessage receivedMessage) {
+       EndListPersistentRequests(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index e02d6e1..f168964 100644 (file)
@@ -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);
        }
 
index 867d07a..5c8a084 100644 (file)
@@ -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);
        }
index 921ac89..8fdd863 100644 (file)
@@ -17,7 +17,7 @@ public class NodeHello extends BaseMessage {
         * @param receivedMessage
         *            The received FCP message
         */
-       public NodeHello(FcpMessage receivedMessage) {
+       NodeHello(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index ead7be0..d6b26b4 100644 (file)
@@ -17,7 +17,7 @@ public class Peer extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       public Peer(FcpMessage receivedMessage) {
+       Peer(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 276e33c..4efbc4f 100644 (file)
@@ -21,7 +21,7 @@ public class PeerNote extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       public PeerNote(FcpMessage receivedMessage) {
+       PeerNote(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 873dd07..441b984 100644 (file)
@@ -17,7 +17,7 @@ public class PeerRemoved extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       public PeerRemoved(FcpMessage receivedMessage) {
+       PeerRemoved(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index ee56439..0522a17 100644 (file)
@@ -18,7 +18,7 @@ public class PersistentPut extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       public PersistentPut(FcpMessage receivedMessage) {
+       PersistentPut(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index c29e399..7befff4 100644 (file)
@@ -17,7 +17,7 @@ public class ProtocolError extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       public ProtocolError(FcpMessage receivedMessage) {
+       ProtocolError(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 4d132b3..624d4e4 100644 (file)
@@ -19,7 +19,7 @@ public class SSKKeypair extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       public SSKKeypair(FcpMessage receivedMessage) {
+       SSKKeypair(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index d1cd2f1..6399750 100644 (file)
@@ -34,7 +34,7 @@ public class SimpleProgress extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       public SimpleProgress(FcpMessage receivedMessage) {
+       SimpleProgress(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 36fc5e6..f56fc49 100644 (file)
@@ -35,7 +35,7 @@ public class StartedCompression extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       public StartedCompression(FcpMessage receivedMessage) {
+       StartedCompression(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 0c600b3..062e6fa 100644 (file)
@@ -18,7 +18,7 @@ public class TestDDAComplete extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       public TestDDAComplete(FcpMessage receivedMessage) {
+       TestDDAComplete(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 15519ff..6cc13ed 100644 (file)
@@ -37,7 +37,7 @@ public class TestDDAReply extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       public TestDDAReply(FcpMessage receivedMessage) {
+       TestDDAReply(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 2e75043..1355c50 100644 (file)
@@ -19,7 +19,7 @@ public class URIGenerated extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       public URIGenerated(FcpMessage receivedMessage) {
+       URIGenerated(FcpMessage receivedMessage) {
                super(receivedMessage);
        }