We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dac834 commit 5c9b1b5Copy full SHA for 5c9b1b5
src/main/java/com/cisco/trex/stateful/api/lowlevel/ASTFProgram.java
@@ -345,7 +345,7 @@ public void recv(int bytes, boolean clear) {
345
* @param clear
346
*/
347
public void recv(long bytes, boolean clear) {
348
- if(clear == true){
+ if(clear){
349
this.totalRcvBytes = 0;
350
}
351
this.totalRcvBytes += bytes;
@@ -391,7 +391,7 @@ public void recvMsg(int pkts, boolean clear) {
391
* @param clear when reach the watermark clear the flow counter
392
393
public void recvMsg(long pkts, boolean clear) {
394
395
396
397
this.totalRcvBytes += pkts;
0 commit comments