This is an automated email from the ASF dual-hosted git repository.

delei pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fesod.git


The following commit(s) were added to refs/heads/main by this push:
     new 5274b2f7 fix: eliminate implicit numeric cast warning in date 
generation (#990)
5274b2f7 is described below

commit 5274b2f7cf1e39cdf25d03fa03ebb619c7a1434f
Author: xleoken <[email protected]>
AuthorDate: Thu Aug 6 15:22:48 2026 +0800

    fix: eliminate implicit numeric cast warning in date generation (#990)
---
 .../java/org/apache/fesod/sheet/examples/util/ExampleDataGenerator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fesod-examples/fesod-sheet-examples/src/main/java/org/apache/fesod/sheet/examples/util/ExampleDataGenerator.java
 
b/fesod-examples/fesod-sheet-examples/src/main/java/org/apache/fesod/sheet/examples/util/ExampleDataGenerator.java
index 7b01414c..2d39fb97 100644
--- 
a/fesod-examples/fesod-sheet-examples/src/main/java/org/apache/fesod/sheet/examples/util/ExampleDataGenerator.java
+++ 
b/fesod-examples/fesod-sheet-examples/src/main/java/org/apache/fesod/sheet/examples/util/ExampleDataGenerator.java
@@ -55,7 +55,7 @@ public class ExampleDataGenerator {
         List<Date> list = new ArrayList<>();
         long now = System.currentTimeMillis();
         for (int i = 0; i < count; i++) {
-            list.add(new Date(now + i * 1000 * 60 * 60 * 24));
+            list.add(new Date(now + (long) i * 1000 * 60 * 60 * 24));
         }
         return list;
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to