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 2020/05/22 08:30:57 UTC
[maven-dist-tool] branch master updated: Fix checkstyle reported
error
This is an automated email from the ASF dual-hosted git repository.
rfscholte 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 73d8b2b Fix checkstyle reported error
73d8b2b is described below
commit 73d8b2b3cff3c30810e55115b3b9c6e799d43bcd
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri May 22 10:30:48 2020 +0200
Fix checkstyle reported error
---
src/main/java/org/apache/maven/dist/tools/JsoupRetry.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/maven/dist/tools/JsoupRetry.java b/src/main/java/org/apache/maven/dist/tools/JsoupRetry.java
index 04eb395..62e214b 100644
--- a/src/main/java/org/apache/maven/dist/tools/JsoupRetry.java
+++ b/src/main/java/org/apache/maven/dist/tools/JsoupRetry.java
@@ -40,7 +40,10 @@ public class JsoupRetry
{
try
{
- return Jsoup.connect( url ).userAgent( "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20100101 Firefox/25.0" ).maxBodySize( 0 ).get();
+ return Jsoup.connect( url )
+ .userAgent( "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20100101 Firefox/25.0" )
+ .maxBodySize( 0 )
+ .get();
}
catch ( IOException ioe )
{