Menu

#4 Rewrite of ?: to && expression ThreadInfo

open
nobody
None
5
2006-12-21
2006-12-21
No

Index: gov/nasa/jpf/jvm/ThreadInfo.java

--- gov/nasa/jpf/jvm/ThreadInfo.java (revision 210)
+++ gov/nasa/jpf/jvm/ThreadInfo.java (working copy)
@@ -1137,8 +1137,7 @@
return false;
}

- return getMethod().isStatic()
- ? false : r.getIndex() == getLocalVariable(0);
+ return !getMethod().isStatic() && r.getIndex() == getLocalVariable(0);
}

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.