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

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-checkstyle-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 61df54d  Fix spotless
61df54d is described below

commit 61df54d979d22e3a736d831a009bc671bfa98742
Author: Sylwester Lachiewicz <slachiew...@gmail.com>
AuthorDate: Sat Dec 23 03:08:05 2023 +0100

    Fix spotless
---
 .../org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/src/main/java/org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java
 
b/src/main/java/org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java
index ef4bbc2..51de7d9 100644
--- 
a/src/main/java/org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java
+++ 
b/src/main/java/org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java
@@ -685,8 +685,8 @@ public abstract class AbstractCheckstyleReport extends 
AbstractMavenReport {
     }
 
     private String determineRelativePath(File location) {
-        String relativePath = 
PathTool.getRelativePath(getReportOutputDirectory().getAbsolutePath(),
-                location.getAbsolutePath());
+        String relativePath =
+                
PathTool.getRelativePath(getReportOutputDirectory().getAbsolutePath(), 
location.getAbsolutePath());
         if (relativePath == null || relativePath.trim().isEmpty()) {
             relativePath = ".";
         }

Reply via email to