Skip to content

Commit 9563999

Browse files
Update ASTFProgram.java
1 parent b52625c commit 9563999

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/cisco/trex/stateful/api/lowlevel/ASTFProgram.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,8 +648,8 @@ public int add(String base64Buf) {
648648
if (bufHash.containsKey(sha256Buf)) {
649649
return bufHash.get(sha256Buf);
650650
}
651-
bufList.add(base64Buf);
652-
int newIndex = bufList.size() - 1;
651+
list.add(base64Buf);
652+
int newIndex = list.size() - 1;
653653
bufHash.put(sha256Buf, newIndex);
654654
return newIndex;
655655
}

0 commit comments

Comments
 (0)