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

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-dist-tool.git


The following commit(s) were added to refs/heads/master by this push:
     new 13e46f2  replace deprecated JDK API
13e46f2 is described below

commit 13e46f2ebb2f0935b7ffcbd3baacae86a951d348
Author: HervĂ© Boutemy <[email protected]>
AuthorDate: Sat Jun 10 09:29:48 2023 +0200

    replace deprecated JDK API
---
 .../maven/dist/tools/source/DistCheckSourceReleaseReport.java     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/src/main/java/org/apache/maven/dist/tools/source/DistCheckSourceReleaseReport.java
 
b/src/main/java/org/apache/maven/dist/tools/source/DistCheckSourceReleaseReport.java
index 1d296df..3a8ba66 100644
--- 
a/src/main/java/org/apache/maven/dist/tools/source/DistCheckSourceReleaseReport.java
+++ 
b/src/main/java/org/apache/maven/dist/tools/source/DistCheckSourceReleaseReport.java
@@ -188,9 +188,9 @@ public class DistCheckSourceReleaseReport extends 
AbstractDistCheckReport {
             if (!cliMissing.toString().isEmpty()) {
                 sink.lineBreak();
                 SinkEventAttributeSet atts = new SinkEventAttributeSet();
-                sink.unknown("pre", new Object[] {new 
Integer(HtmlMarkup.TAG_TYPE_START)}, atts);
+                sink.unknown("pre", new Object[] 
{Integer.valueOf(HtmlMarkup.TAG_TYPE_START)}, atts);
                 sink.text(cliMissing.toString());
-                sink.unknown("pre", new Object[] {new 
Integer(HtmlMarkup.TAG_TYPE_END)}, null);
+                sink.unknown("pre", new Object[] 
{Integer.valueOf(HtmlMarkup.TAG_TYPE_END)}, null);
             }
 
             StringBuilder cliOlder = new StringBuilder();
@@ -203,9 +203,9 @@ public class DistCheckSourceReleaseReport extends 
AbstractDistCheckReport {
             if (!cliOlder.toString().isEmpty()) {
                 sink.lineBreak();
                 SinkEventAttributeSet atts = new SinkEventAttributeSet();
-                sink.unknown("pre", new Object[] {new 
Integer(HtmlMarkup.TAG_TYPE_START)}, atts);
+                sink.unknown("pre", new Object[] 
{Integer.valueOf(HtmlMarkup.TAG_TYPE_START)}, atts);
                 sink.text(cliOlder.toString());
-                sink.unknown("pre", new Object[] {new 
Integer(HtmlMarkup.TAG_TYPE_END)}, null);
+                sink.unknown("pre", new Object[] 
{Integer.valueOf(HtmlMarkup.TAG_TYPE_END)}, null);
             }
         }
 

Reply via email to