From 22f8034de8539b9c6f04c43a6b1c451c00e189b4 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Wed, 16 Jan 2013 17:50:43 +0100 Subject: [PATCH] Minor JavaDoc updates. --- .../java/com/google/bitcoin/core/InventoryMessage.java | 2 -- .../main/java/com/google/bitcoin/core/PeerAddress.java | 2 -- .../java/com/google/bitcoin/core/PeerEventListener.java | 8 +------- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/core/src/main/java/com/google/bitcoin/core/InventoryMessage.java b/core/src/main/java/com/google/bitcoin/core/InventoryMessage.java index ebacc882..04f1ff5f 100644 --- a/core/src/main/java/com/google/bitcoin/core/InventoryMessage.java +++ b/core/src/main/java/com/google/bitcoin/core/InventoryMessage.java @@ -33,8 +33,6 @@ public class InventoryMessage extends ListMessage { * Deserializes an 'inv' message. * @param params NetworkParameters object. * @param msg Bitcoin protocol formatted byte array containing message content. - * @param offset The location of the first msg byte within the array. - * @param protocolVersion Bitcoin protocol version. * @param parseLazy Whether to perform a full parse immediately or delay until a read is requested. * @param parseRetain Whether to retain the backing byte array for quick reserialization. * If true and the backing byte array is invalidated due to modification of a field then diff --git a/core/src/main/java/com/google/bitcoin/core/PeerAddress.java b/core/src/main/java/com/google/bitcoin/core/PeerAddress.java index 16bd5804..4f0a0b94 100644 --- a/core/src/main/java/com/google/bitcoin/core/PeerAddress.java +++ b/core/src/main/java/com/google/bitcoin/core/PeerAddress.java @@ -56,8 +56,6 @@ public class PeerAddress extends ChildMessage { * @param parseRetain Whether to retain the backing byte array for quick reserialization. * If true and the backing byte array is invalidated due to modification of a field then * the cached bytes may be repopulated and retained if the message is serialized again in the future. - * @param length The length of message if known. Usually this is provided when deserializing of the wire - * as the length will be provided as part of the header. If unknown then set to Message.UNKNOWN_LENGTH * @throws ProtocolException */ public PeerAddress(NetworkParameters params, byte[] msg, int offset, int protocolVersion, Message parent, boolean parseLazy, diff --git a/core/src/main/java/com/google/bitcoin/core/PeerEventListener.java b/core/src/main/java/com/google/bitcoin/core/PeerEventListener.java index b7c6314b..285cf18f 100644 --- a/core/src/main/java/com/google/bitcoin/core/PeerEventListener.java +++ b/core/src/main/java/com/google/bitcoin/core/PeerEventListener.java @@ -19,13 +19,7 @@ package com.google.bitcoin.core; import java.util.List; /** - * Implementing a PeerEventListener allows you to learn when significant Peer communication - * has occurred. - * - *

Methods are called with the event listener object locked so your - * implementation does not have to be thread safe. - * - * @author miron@google.com (Miron Cuperman a.k.a devrandom) + *

Implementing a PeerEventListener allows you to learn when significant Peer communication has occurred.

*/ public interface PeerEventListener { /**