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


The following commit(s) were added to refs/heads/master by this push:
     new 78bd3de  Fix checkstyle
78bd3de is described below

commit 78bd3de170de4ba1a1a2e8b25b6c5830b7a766f7
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Thu Jun 8 11:49:55 2023 +0200

    Fix checkstyle
---
 src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java 
b/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java
index 7597b37..64073ed 100644
--- a/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java
+++ b/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java
@@ -400,7 +400,7 @@ public class LinkcheckReport
         linkCheck.setExcludedPages( getExcludedPages() );
         linkCheck.setExcludedHttpStatusErrors( asIntArray( 
excludedHttpStatusErrors ) );
         linkCheck.setExcludedHttpStatusWarnings( asIntArray( 
excludedHttpStatusWarnings ) );
-        linkCheck.setEncoding( ( (encoding != null && !encoding.isEmpty()) ? 
encoding : ReaderFactory.UTF_8 ) );
+        linkCheck.setEncoding( ( ( encoding != null && !encoding.isEmpty() ) ? 
encoding : ReaderFactory.UTF_8 ) );
 
         HttpBean bean = new HttpBean();
         bean.setMethod( httpMethod );

Reply via email to