Commit e800cc3
committed
Use constant.equals()
There are some equals() that are not constant.equals(variable), but variable.equals(constant)1 parent 72a1a48 commit e800cc3
File tree
4 files changed
+13
-17
lines changed- src/main/java/org/json
4 files changed
+13
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
338 | | - | |
339 | | - | |
| 337 | + | |
| 338 | + | |
340 | 339 | | |
341 | | - | |
342 | | - | |
343 | | - | |
| 340 | + | |
| 341 | + | |
344 | 342 | | |
345 | 343 | | |
346 | 344 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
679 | 679 | | |
680 | 680 | | |
681 | 681 | | |
682 | | - | |
683 | | - | |
684 | | - | |
| 682 | + | |
| 683 | + | |
685 | 684 | | |
686 | | - | |
687 | | - | |
688 | | - | |
| 685 | + | |
| 686 | + | |
689 | 687 | | |
690 | 688 | | |
691 | 689 | | |
| |||
1911 | 1909 | | |
1912 | 1910 | | |
1913 | 1911 | | |
1914 | | - | |
| 1912 | + | |
1915 | 1913 | | |
1916 | 1914 | | |
1917 | 1915 | | |
| |||
1969 | 1967 | | |
1970 | 1968 | | |
1971 | 1969 | | |
1972 | | - | |
| 1970 | + | |
1973 | 1971 | | |
1974 | 1972 | | |
1975 | 1973 | | |
| |||
3022 | 3020 | | |
3023 | 3021 | | |
3024 | 3022 | | |
3025 | | - | |
| 3023 | + | |
3026 | 3024 | | |
3027 | 3025 | | |
3028 | 3026 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
0 commit comments