Hello again,

‘./gradlew check’ fails after this commit, because it introduces some
linting issues.

> Task :checkstyleMain FAILED

--8<---------------cut here---------------start------------->8---
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':checkstyleMain'.
> Checkstyle rule violations were found. See the report at: 
> file:///home/mthl/src/ofbiz/build/reports/checkstyle/main.html
  Checkstyle files with violations: 1039
  Checkstyle violations by severity: [error:37783]
--8<---------------cut here---------------end--------------->8---

[email protected] writes:

[...]
> +
> +        Map<String, String[]> parameterMap =request.getParameterMap();
                                               ^ missing space
> +        if (parameterMap != null) {
> +            List<BasicNameValuePair> params = new 
> ArrayList<BasicNameValuePair>();
> +            request.getParameterMap().forEach((name, values) -> {
> +                for(String value : values) {
                      ^ missing space
> +                    params.add(new BasicNameValuePair(name, value));
> +                }
> +            });
> +            String queryString = URLEncodedUtils.format(params, 
> Charset.forName("UTF-8"));
> +            uri = uri + "?" + queryString; 
                                             ^ trailing whitespace
> +        }
> +        
   ^^^^^^^^^trailing whitespaces

Can you fix those ? :-)

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37

Reply via email to