From bc99bc720616f0070c83a40e19b069f98fdabc73 Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Thu, 26 Jun 2014 12:51:33 +0000
Subject: [PATCH] javadoc fixes

---
 .../src/net/i2p/i2ptunnel/I2PTunnelHTTPClientBase.java |  2 +-
 core/java/src/net/i2p/client/I2PSession.java           | 10 +++++-----
 core/java/src/net/i2p/data/DataHelper.java             |  2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClientBase.java b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClientBase.java
index f87068f3af..4813fa2a17 100644
--- a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClientBase.java
+++ b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClientBase.java
@@ -646,7 +646,7 @@ public abstract class I2PTunnelHTTPClientBase extends I2PTunnelClientBase implem
 
     /**
      *  @param jumpServers comma- or space-separated list, or null
-     *  @param msg extra message
+     *  @param extraMessage extra message
      *  @since 0.9.14
      */
     protected void writeErrorMessage(byte[] errMessage, String extraMessage,
diff --git a/core/java/src/net/i2p/client/I2PSession.java b/core/java/src/net/i2p/client/I2PSession.java
index 2d535c25af..da67e2c02c 100644
--- a/core/java/src/net/i2p/client/I2PSession.java
+++ b/core/java/src/net/i2p/client/I2PSession.java
@@ -132,7 +132,7 @@ public interface I2PSession {
      * @since 0.7.1
      */
     public boolean sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, Set tagsSent,
-                               int proto, int fromport, int toport) throws I2PSessionException;
+                               int proto, int fromPort, int toPort) throws I2PSessionException;
 
     /**
      * See I2PSessionMuxedImpl for proto/port details.
@@ -151,7 +151,7 @@ public interface I2PSession {
      * @since 0.7.1
      */
     public boolean sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, Set tagsSent, long expire,
-                               int proto, int fromport, int toport) throws I2PSessionException;
+                               int proto, int fromPort, int toPort) throws I2PSessionException;
 
     /**
      * See I2PSessionMuxedImpl for proto/port details.
@@ -170,7 +170,7 @@ public interface I2PSession {
      * @since 0.8.4
      */
     public boolean sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, Set tagsSent, long expire,
-                               int proto, int fromport, int toport, int flags) throws I2PSessionException;
+                               int proto, int fromPort, int toPort, int flags) throws I2PSessionException;
 
     /**
      * See I2PSessionMuxedImpl for proto/port details.
@@ -188,7 +188,7 @@ public interface I2PSession {
      * @since 0.9.2
      */
     public boolean sendMessage(Destination dest, byte[] payload, int offset, int size,
-                               int proto, int fromport, int toport, SendMessageOptions options) throws I2PSessionException;
+                               int proto, int fromPort, int toPort, SendMessageOptions options) throws I2PSessionException;
 
     /**
      * Send a message and request an asynchronous notification of delivery status.
@@ -211,7 +211,7 @@ public interface I2PSession {
      * @since 0.9.14
      */
     public long sendMessage(Destination dest, byte[] payload, int offset, int size,
-                               int proto, int fromport, int toport,
+                               int proto, int fromPort, int toPort,
                                SendMessageOptions options, SendMessageStatusListener listener) throws I2PSessionException;
 
     /** Receive a message that the router has notified the client about, returning
diff --git a/core/java/src/net/i2p/data/DataHelper.java b/core/java/src/net/i2p/data/DataHelper.java
index e84df4a38e..efc66a2c64 100644
--- a/core/java/src/net/i2p/data/DataHelper.java
+++ b/core/java/src/net/i2p/data/DataHelper.java
@@ -554,7 +554,7 @@ public class DataHelper {
 
     /**
      *  Positive decimal without leading zeros.
-     *  @param data may be null (returns "0")
+     *  @param buf may be null (returns "0")
      *  @param len unused
      *  @return (new BigInteger(1, buf)).toString()
      *  @deprecated unused
-- 
GitLab