projects
/
jpf-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87594ff
)
Fixing a bug: java LinkedList needs removeFirst(), not getFirst() to get and remove...
author
rtrimana
<rtrimana@uci.edu>
Thu, 9 Apr 2020 23:29:40 +0000
(16:29 -0700)
committer
rtrimana
<rtrimana@uci.edu>
Thu, 9 Apr 2020 23:29:40 +0000
(16:29 -0700)
src/main/gov/nasa/jpf/listener/DPORStateReducer.java
patch
|
blob
|
history
diff --git
a/src/main/gov/nasa/jpf/listener/DPORStateReducer.java
b/src/main/gov/nasa/jpf/listener/DPORStateReducer.java
index f9d79c5a27d160515657424b83a7fd88388afa4c..d8133e397a43c38622abbd0f64577ba64ccbffaa 100644
(file)
--- a/
src/main/gov/nasa/jpf/listener/DPORStateReducer.java
+++ b/
src/main/gov/nasa/jpf/listener/DPORStateReducer.java
@@
-792,7
+792,7
@@
public class DPORStateReducer extends ListenerAdapter {
if (vodGraphMap.containsKey(prevEvent)) {
nodesToVisit.addAll(vodGraphMap.get(prevEvent));
while(!nodesToVisit.isEmpty()) {
- int choice = nodesToVisit.
get
First();
+ int choice = nodesToVisit.
remove
First();
if (choice == currEvent) {
return true;
}