You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2021/07/23 11:34:02 UTC

[maven-enforcer] branch MENFORCER-364 updated: Fix checkstyle reported error

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

rfscholte pushed a commit to branch MENFORCER-364
in repository https://gitbox.apache.org/repos/asf/maven-enforcer.git


The following commit(s) were added to refs/heads/MENFORCER-364 by this push:
     new df5322b  Fix checkstyle reported error
df5322b is described below

commit df5322be81199412d470545cc97c2168f36caf59
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri Jul 23 13:33:49 2021 +0200

    Fix checkstyle reported error
---
 .../main/java/org/apache/maven/plugins/enforcer/RequireFilesExist.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireFilesExist.java b/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireFilesExist.java
index b7f4b3b..5675f55 100644
--- a/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireFilesExist.java
+++ b/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireFilesExist.java
@@ -57,7 +57,7 @@ public class RequireFilesExist
             File absFile;
             if ( !file.isAbsolute() )
             {
-                absFile = new File( new File(".").getCanonicalFile(), file.getPath() );
+                absFile = new File( new File( "." ).getCanonicalFile(), file.getPath() );
             }
             else
             {