From 610b7977ebc9332dcdad1fc7b0db6e465a66cdfc Mon Sep 17 00:00:00 2001 From: Alexander Suter Date: Fri, 20 Dec 2024 15:40:39 +0100 Subject: [PATCH] Fix code scanning alert no. 1: Implicit narrowing conversion in compound assignment Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- src/ch/ivy/bb/DataService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch/ivy/bb/DataService.java b/src/ch/ivy/bb/DataService.java index 561db42..9b3769c 100644 --- a/src/ch/ivy/bb/DataService.java +++ b/src/ch/ivy/bb/DataService.java @@ -79,7 +79,7 @@ public List items() { public List animatedItems() { List result = new ArrayList(); - var open = 100; + long open = 100; var close = 250; for (var i = 1; i <365; i++) {