Skip to content

Commit 4f39a61

Browse files
author
Jerry Kuch
committed
Clean up comments as per bugzilla feedback.
1 parent 73b1af8 commit 4f39a61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/com/rabbitmq/client/ProtocolVersionMismatchException.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import java.net.ProtocolException;
77

88
/**
9-
* Thrown to indicate that the peer does not support the wire protocol version
9+
* Thrown to indicate that the server does not support the wire protocol version
1010
* we requested immediately after opening the TCP socket.
1111
*/
1212
public class ProtocolVersionMismatchException extends ProtocolException
@@ -29,7 +29,7 @@ public Version getClientVersion()
2929
return clientVersion;
3030
}
3131

32-
/** The peer's AMQP specification version. */
32+
/** The server's AMQP specification version. */
3333
public Version getServerVersion()
3434
{
3535
return serverVersion;
@@ -47,7 +47,7 @@ public int getClientMinor()
4747
return clientVersion.getMinor();
4848
}
4949

50-
/** The peer's AMQP specification major version. */
50+
/** The server's AMQP specification major version. */
5151
public int getServerMajor()
5252
{
5353
return serverVersion.getMajor();

0 commit comments

Comments
 (0)