Commit 45c2605
authored
Fix SpotBugs warnings for EC_UNRELATED_TYPES and EQ_ALWAYS_FALSE (#4367)
* Fix EC_UNRELATED_TYPES in XYChart.java by comparing font face IDs (int) instead of comparing string representation to int.
* Fix EQ_ALWAYS_FALSE in NetworkManager.java by implementing identity equality instead of always returning false.
* Update generate-quality-report.py to enforce these rules in the future.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent 73565cb commit 45c2605
File tree
3 files changed
+5
-3
lines changed- .github/scripts
- CodenameOne/src/com/codename1
- charts/views
- io
3 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
774 | | - | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
775 | 777 | | |
776 | 778 | | |
777 | 779 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1061 | 1061 | | |
1062 | 1062 | | |
1063 | 1063 | | |
1064 | | - | |
| 1064 | + | |
1065 | 1065 | | |
1066 | 1066 | | |
1067 | 1067 | | |
| |||
0 commit comments