Skip to content

Commit 95b574e

Browse files
author
gefeili
committed
move the javadoc to the right place caused by merge
1 parent b49da0f commit 95b574e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pg/src/main/java/org/bouncycastle/bcpg/BCPGOutputStream.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -339,14 +339,6 @@ public void writePacket(
339339
p.encode(this);
340340
}
341341

342-
/**
343-
* Write a packet to the stream.
344-
* The packet will use the old encoding format if {@link #packetFormat} is {@link PacketFormat#LEGACY}, otherwise
345-
* it will be encoded using the new packet format.
346-
* @param tag packet tag
347-
* @param body packet body
348-
* @throws IOException
349-
*/
350342
void writeShort(short n)
351343
throws IOException
352344
{
@@ -363,6 +355,14 @@ void writeInt(int n)
363355
out.write(n);
364356
}
365357

358+
/**
359+
* Write a packet to the stream.
360+
* The packet will use the old encoding format if {@link #packetFormat} is {@link PacketFormat#LEGACY}, otherwise
361+
* it will be encoded using the new packet format.
362+
* @param tag packet tag
363+
* @param body packet body
364+
* @throws IOException
365+
*/
366366
void writePacket(
367367
int tag,
368368
byte[] body)

0 commit comments

Comments
 (0)