findbugs all over

This commit is contained in:
zzz
2014-06-13 21:37:18 +00:00
parent ab44488e4c
commit 002d057c92
19 changed files with 50 additions and 25 deletions

View File

@ -235,11 +235,11 @@ public class PcapWriter {
seq = 0xffffffff;
else
seq = pkt.getSequenceNum();
DataHelper.writeLong(_fos, 4, seq);
long acked = 0;
if (con != null) {
acked = getLowestAckedThrough(pkt, con);
}
DataHelper.writeLong(_fos, 4, pkt.getSequenceNum());
DataHelper.writeLong(_fos, 4, acked);
// offset and flags 2 bytes