Commit 973fa51
committed
Exclude check for boolean inversion from PMD
The argument for using bitwise inversion instead of boolean inversion is
quite dated and in tests I could not reproduce the improved performance
of bitwise inversion compared to boolean inversion. In any case, the
performance gain is so small in most cases that it does not compensate
for the loss in readability of the code.1 parent 016c14d commit 973fa51
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments