Skip to content

Commit 1c10689

Browse files
Merge pull request #20 from ArtifactForms/alert-autofix-2
Fix code scanning alert no. 2: Implicit narrowing conversion in compound assignment
2 parents 287f615 + 04b0a5d commit 1c10689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/workspace/ui/UiSimpleList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public void addElements(Object... elements) {
2424

2525
@Override
2626
public void onDraw(Graphics g) {
27-
int y = 300;
27+
float y = 300;
2828
int padding = 5;
2929
int gap = 5;
3030

0 commit comments

Comments
 (0)