Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 236c79b

Browse files
committed
Java: Adjust comment position and re-autoformat.
1 parent c16f0df commit 236c79b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

java/ql/src/Likely Bugs/Comparison/UselessComparisonTest.ql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,8 @@ where
203203
else
204204
if constCondSimple(test, _)
205205
then (
206-
constCondSimple(test, testIsTrue) and reason = "" and reasonElem = test
206+
constCondSimple(test, testIsTrue) and reason = "" and reasonElem = test // dummy reason element
207207
) else
208-
// dummy reason element
209208
exists(CondReason r |
210209
constCond(test, testIsTrue, r) and reason = ", because of $@" and reasonElem = r.getCond()
211210
)

0 commit comments

Comments
 (0)