Skip to content

Commit

Permalink
Fix code scanning alert no. 1: Implicit narrowing conversion in compo…
Browse files Browse the repository at this point in the history
…und assignment

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
alexsuter and github-advanced-security[bot] authored Dec 20, 2024
1 parent 3653cdb commit 610b797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch/ivy/bb/DataService.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public List<DataItem> items() {
public List<AnimatedDataItem> animatedItems() {
List<AnimatedDataItem> result = new ArrayList<AnimatedDataItem>();

var open = 100;
long open = 100;
var close = 250;

for (var i = 1; i <365; i++) {
Expand Down

0 comments on commit 610b797

Please sign in to comment.