Commit 79bc59b
authored
Fix SpotBugs warnings in CodenameOneImplementation and UIBuilder (#4321)
Fixed incorrect math logic in `CodenameOneImplementation.getDragSpeed` where `Math.min` used an incorrect variable.
Added `synchronized` to `UIBuilder.getComponentRegistry` to prevent race conditions during lazy initialization.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent 3407706 commit 79bc59b
File tree
2 files changed
+2
-2
lines changed- CodenameOne/src/com/codename1
- impl
- ui/util
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2680 | 2680 | | |
2681 | 2681 | | |
2682 | 2682 | | |
2683 | | - | |
| 2683 | + | |
2684 | 2684 | | |
2685 | 2685 | | |
2686 | 2686 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
0 commit comments