[ 
https://issues.apache.org/jira/browse/WICKET-6662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840312#comment-16840312
 ] 

ASF subversion and git services commented on WICKET-6662:
---------------------------------------------------------

Commit 1c011e11dddbb65e4709cdce88bb689197a7acc3 in wicket's branch 
refs/heads/master from Martin Tzvetanov Grigorov
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=1c011e1 ]

WICKET-6662 Get rid of compilation warnings

[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ wicket-util 
---
[INFO] Toolchain in maven-compiler-plugin: JDK[/home/martin/devel/jdk-11/]
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 202 source files to 
/home/martin/git/apache/wicket/wicket-util/target/classes
[WARNING] 
/home/martin/git/apache/wicket/wicket-util/src/main/java/org/apache/wicket/util/time/ITimeFrameSource.java:[32,7]
 [dep-ann] deprecated item is not annotated with @Deprecated
[WARNING] 
/home/martin/git/apache/wicket/wicket-util/src/main/java/org/apache/wicket/util/time/TimeFrame.java:[48,13]
 [dep-ann] deprecated item is not annotated with @Deprecated
[WARNING] 
/home/martin/git/apache/wicket/wicket-util/src/main/java/org/apache/wicket/util/time/AbstractTimeValue.java:[30,9]
 [dep-ann] deprecated item is not annotated with @Deprecated
[WARNING] 
/home/martin/git/apache/wicket/wicket-util/src/main/java/org/apache/wicket/util/time/AbstractTime.java:[33,9]
 [dep-ann] deprecated item is not annotated with @Deprecated
[WARNING] 
/home/martin/git/apache/wicket/wicket-util/src/main/java/org/apache/wicket/util/time/Time.java:[39,13]
 [dep-ann] deprecated item is not annotated with @Deprecated
[WARNING] 
/home/martin/git/apache/wicket/wicket-util/src/main/java/org/apache/wicket/util/time/TimeOfDay.java:[58,13]
 [dep-ann] deprecated item is not annotated with @Deprecated
[WARNING] 
/home/martin/git/apache/wicket/wicket-util/src/main/java/org/apache/wicket/util/time/Duration.java:[92,7]
 [dep-ann] deprecated item is not annotated with @Deprecated
[WARNING] 
/home/martin/git/apache/wicket/wicket-util/src/main/java/org/apache/wicket/util/time/TimeMap.java:[41,13]
 [dep-ann] deprecated item is not annotated with @Deprecated

Mention the replacements for Duration and Time classes


> Remove legacy package org.apache.wicket.util.time from wicket-util
> ------------------------------------------------------------------
>
>                 Key: WICKET-6662
>                 URL: https://issues.apache.org/jira/browse/WICKET-6662
>             Project: Wicket
>          Issue Type: Improvement
>    Affects Versions: 9.0.0-M1
>            Reporter: Andrea Del Bene
>            Assignee: Andrea Del Bene
>            Priority: Minor
>             Fix For: 9.0.0-M2
>
>
> Wicket still use custom classes from package org.apache.wicket.util.time to 
> handle and manipulate time entities such as "duration" or "current instant".
> There are in particular two main classes used across the framework: Time and 
> Duration. These two classes have the same purpose and functionalities as 
> standard classes java.time.Instant and java.time.Duration. Therefore, we 
> should consider to switch to standard java.time classes and remove legacy 
> package org.apache.wicket.util.time.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to