You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/12/02 10:01:55 UTC
[tomcat-jakartaee-migration] branch main updated: Fix auto-boxing warning
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-jakartaee-migration.git
The following commit(s) were added to refs/heads/main by this push:
new 6be7b97 Fix auto-boxing warning
6be7b97 is described below
commit 6be7b9774b02c7e27e8dcb3bf158a327b1aff02d
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Dec 2 10:01:49 2022 +0000
Fix auto-boxing warning
---
src/main/java/org/apache/tomcat/jakartaee/Migration.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/tomcat/jakartaee/Migration.java b/src/main/java/org/apache/tomcat/jakartaee/Migration.java
index 4f11e66..74d32a3 100644
--- a/src/main/java/org/apache/tomcat/jakartaee/Migration.java
+++ b/src/main/java/org/apache/tomcat/jakartaee/Migration.java
@@ -244,7 +244,7 @@ public class Migration {
}
state = State.COMPLETE;
logger.log(Level.INFO, sm.getString("migration.done",
- TimeUnit.MILLISECONDS.convert(System.nanoTime() - t1, TimeUnit.NANOSECONDS)));
+ Long.valueOf(TimeUnit.MILLISECONDS.convert(System.nanoTime() - t1, TimeUnit.NANOSECONDS))));
}
private void migrateDirectory(File src, File dest) throws IOException {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org