Findbugs: A stab at squashing some issues across the board. Probably more to follow.

This commit is contained in:
dg2-new
2013-11-10 19:04:57 +00:00
parent 18e4c2ac63
commit 0a8f79f0e3
8 changed files with 22 additions and 20 deletions

View File

@ -238,10 +238,7 @@ public class PcapWriter {
seq = pkt.getSequenceNum();
long acked = 0;
if (con != null) {
if (isInbound)
acked = getLowestAckedThrough(pkt, con);
else
acked = getLowestAckedThrough(pkt, con);
acked = getLowestAckedThrough(pkt, con);
}
DataHelper.writeLong(_fos, 4, pkt.getSequenceNum());
DataHelper.writeLong(_fos, 4, acked);