X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fnet%2Fpterodactylus%2Futil%2Ffcp%2FPeerNote.java;fp=src%2Fnet%2Fpterodactylus%2Futil%2Ffcp%2FPeerNote.java;h=0000000000000000000000000000000000000000;hb=8d0f8a527646b5d9addb41692733e76b07ebf94c;hp=4efbc4fba8b509d287e23206ba4a2a930296559d;hpb=ebd531bc775036dd66a7e20abebbcb480af35491;p=jSite2.git
diff --git a/src/net/pterodactylus/util/fcp/PeerNote.java b/src/net/pterodactylus/util/fcp/PeerNote.java
deleted file mode 100644
index 4efbc4f..0000000
--- a/src/net/pterodactylus/util/fcp/PeerNote.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
- * © 2008 INA Service GmbH
- */
-package net.pterodactylus.util.fcp;
-
-/**
- * The âPeerNoteâ message contains a private note that has been entered for a
- * darknet peer.
- *
- * @author David Roden
- * @version $Id$
- */
-public class PeerNote extends BaseMessage {
-
- /** The type for base64 encoded peer notes. */
- public static final int TYPE_PRIVATE_PEER_NOTE = 1;
-
- /**
- * Creates a âPeerNoteâ message that wraps the recevied message.
- *
- * @param receivedMessage
- * The received message
- */
- PeerNote(FcpMessage receivedMessage) {
- super(receivedMessage);
- }
-
- /**
- * Returns the base64-encoded note text.
- *
- * @return The note text
- */
- public String getNoteText() {
- return getField("NoteText");
- }
-
- /**
- * Returns the type of the peer note.
- *
- * @return The type of the peer note, or -1
if the type can
- * not be parsed
- */
- public int getPeerNoteType() {
- return FcpUtils.safeParseInt(getField("PeerNoteType"));
- }
-
-}