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-artifact-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 574384c  chore: spotless:apply
574384c is described below

commit 574384c9df69d204f34e6457a7d21357b41c3487
Author: HervĂ© Boutemy <[email protected]>
AuthorDate: Fri Dec 12 11:51:41 2025 +0900

    chore: spotless:apply
---
 .../artifact/buildinfo/ReproducibleCentralReport.java       | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git 
a/src/main/java/org/apache/maven/plugins/artifact/buildinfo/ReproducibleCentralReport.java
 
b/src/main/java/org/apache/maven/plugins/artifact/buildinfo/ReproducibleCentralReport.java
index cb5e0e6..882c8ec 100644
--- 
a/src/main/java/org/apache/maven/plugins/artifact/buildinfo/ReproducibleCentralReport.java
+++ 
b/src/main/java/org/apache/maven/plugins/artifact/buildinfo/ReproducibleCentralReport.java
@@ -18,11 +18,11 @@
  */
 package org.apache.maven.plugins.artifact.buildinfo;
 
+import java.util.ArrayList;
+import java.util.List;
 import java.util.Locale;
 import java.util.Map;
 import java.util.TreeMap;
-import java.util.ArrayList;
-import java.util.List;
 
 import org.apache.maven.artifact.Artifact;
 import org.apache.maven.doxia.sink.Sink;
@@ -80,7 +80,8 @@ public class ReproducibleCentralReport extends 
AbstractMavenReport {
         sink.text("project's dependencies:");
         sink.paragraph_();
 
-        // Group dependencies by scope to help prioritization (compile first, 
then provided, runtime, test, system, import)
+        // Group dependencies by scope to help prioritization (compile first, 
then provided, runtime, test, system,
+        // import)
         Map<String, List<Artifact>> byScope = new TreeMap<>();
         project.getArtifacts().forEach(a -> {
             String sc = a.getScope();
@@ -102,7 +103,8 @@ public class ReproducibleCentralReport extends 
AbstractMavenReport {
                 sink.sectionTitle2_();
                 sink.list();
                 list.stream()
-                        .sorted((a1, a2) -> (a1.getGroupId() + 
a1.getArtifactId()).compareTo(a2.getGroupId() + a2.getArtifactId()))
+                        .sorted((a1, a2) ->
+                                (a1.getGroupId() + 
a1.getArtifactId()).compareTo(a2.getGroupId() + a2.getArtifactId()))
                         .forEach(a -> {
                             sink.listItem();
                             renderReproducibleCentralArtifact(sink, a);
@@ -120,7 +122,8 @@ public class ReproducibleCentralReport extends 
AbstractMavenReport {
                 sink.sectionTitle2_();
                 sink.list();
                 list.stream()
-                        .sorted((a1, a2) -> (a1.getGroupId() + 
a1.getArtifactId()).compareTo(a2.getGroupId() + a2.getArtifactId()))
+                        .sorted((a1, a2) ->
+                                (a1.getGroupId() + 
a1.getArtifactId()).compareTo(a2.getGroupId() + a2.getArtifactId()))
                         .forEach(a -> {
                             sink.listItem();
                             renderReproducibleCentralArtifact(sink, a);

Reply via email to