From 706ed2ced219e00533861447cf74c3d1f4175b08 Mon Sep 17 00:00:00 2001
From: zzz <zzz@i2pmail.org>
Date: Tue, 12 Apr 2022 09:29:34 -0400
Subject: [PATCH] javadoc

---
 router/java/src/net/i2p/data/i2np/I2NPMessageImpl.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/router/java/src/net/i2p/data/i2np/I2NPMessageImpl.java b/router/java/src/net/i2p/data/i2np/I2NPMessageImpl.java
index 46a8dde39b..df52eeb78e 100644
--- a/router/java/src/net/i2p/data/i2np/I2NPMessageImpl.java
+++ b/router/java/src/net/i2p/data/i2np/I2NPMessageImpl.java
@@ -310,7 +310,7 @@ public abstract class I2NPMessageImpl implements I2NPMessage {
      * Write the message to the buffer, returning the new offset (NOT the length).
      * the data is is not self contained - it does not include the size,
      * unique id, or any checksum, but does include the type and expiration.
-     * Short 9 byte header for NTCP 2.
+     * Short 9 byte header for NTCP2 and SSU2.
      *
      * @param off the offset to start writing at
      * @return the new offset (NOT the length)
@@ -376,7 +376,9 @@ public abstract class I2NPMessageImpl implements I2NPMessage {
     /**
      *  Read the message with a short 9-byte header.
      *  THe header consists of a one-byte type, 4-byte ID, and a 4-byte expiration in seconds only.
-     *  Used by NTCP2 only!
+     *  Used by NTCP2 and SSU2 only!
+     *
+     *  @param handler ignored, may be null
      *  @since 0.9.35
      */
     public static I2NPMessage fromRawByteArrayNTCP2(I2PAppContext ctx, byte buffer[], int offset,
-- 
GitLab