diff src/ch/ethz/ssh2/packets/PacketKexDhGexReply.java @ 307:071eccdff8ea ganymed

fix java formatting
author Carl Byington <carl@five-ten-sg.com>
date Wed, 30 Jul 2014 14:16:58 -0700
parents 91a31873c42a
children
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/packets/PacketKexDhGexReply.java	Wed Jul 30 12:09:51 2014 -0700
+++ b/src/ch/ethz/ssh2/packets/PacketKexDhGexReply.java	Wed Jul 30 14:16:58 2014 -0700
@@ -22,10 +22,9 @@
 
     public PacketKexDhGexReply(byte payload[]) throws IOException {
         TypesReader tr = new TypesReader(payload);
-
         int packet_type = tr.readByte();
 
-        if(packet_type != Packets.SSH_MSG_KEX_DH_GEX_REPLY) {
+        if (packet_type != Packets.SSH_MSG_KEX_DH_GEX_REPLY) {
             throw new PacketTypeException(packet_type);
         }
 
@@ -33,7 +32,7 @@
         f = tr.readMPINT();
         signature = tr.readByteString();
 
-        if(tr.remain() != 0) {
+        if (tr.remain() != 0) {
             throw new PacketFormatException(String.format("Padding in %s", Packets.getMessageName(packet_type)));
         }
     }