chore(deps): bump pmd.version from 7.15.0 to 7.17.0 #2523
verify.yml
on: pull_request
pmd
23s
maven-verify
8m 8s
Annotations
2 errors and 3 warnings
|
pmd
Process completed with exit code 1.
|
|
maven-verify
Process completed with exit code 1.
|
|
Usage of java.util.Date should be replaced with classes from java.time:
com.avaloq.tools.ddk.test.ui/src/com/avaloq/tools/ddk/test/ui/junit/runners/TestRunRecording.java#L627
The legacy java.util.Date class is mutable, not thread-safe, and has a confusing API. Many of its methods
are deprecated, it doesn't handle timezones properly, and it represents both date and time even when only
one is needed. The constructor parameters are particularly error-prone: year is "years since 1900" and
month is 0-based (January = 0). The modern java.time API (introduced in Java 8) provides better type safety, immutability, and clearer semantics.
Use LocalDate (date only), LocalTime (time only), LocalDateTime (date and time), Instant (timestamp),
or ZonedDateTime (date-time with timezone) from java.time package instead.
ReplaceJavaUtilDate (Priority: 3, Ruleset: Error Prone)
https://docs.pmd-code.org/snapshot/pmd_rules_java_errorprone.html#replacejavautildate
|
|
Usage of java.util.Date should be replaced with classes from java.time:
com.avaloq.tools.ddk.test.ui/src/com/avaloq/tools/ddk/test/ui/junit/runners/TestRunRecording.java#L627
The legacy java.util.Date class is mutable, not thread-safe, and has a confusing API. Many of its methods
are deprecated, it doesn't handle timezones properly, and it represents both date and time even when only
one is needed. The constructor parameters are particularly error-prone: year is "years since 1900" and
month is 0-based (January = 0). The modern java.time API (introduced in Java 8) provides better type safety, immutability, and clearer semantics.
Use LocalDate (date only), LocalTime (time only), LocalDateTime (date and time), Instant (timestamp),
or ZonedDateTime (date-time with timezone) from java.time package instead.
ReplaceJavaUtilDate (Priority: 3, Ruleset: Error Prone)
https://docs.pmd-code.org/snapshot/pmd_rules_java_errorprone.html#replacejavautildate
|
|
maven-verify
No files were found with the provided path: /com.avaloq.tools.ddk.xtext.test/target/work/data/.metadata/.log. No artifacts will be uploaded.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
PMD Report
Expired
|
1.91 KB |
sha256:b48f437e294abd7ffc072212daa0df38d5a07c25c1659ce89ac61ac37ab2f00b
|
|