Enable checkstyle OneStatementPerLine

master
Evan Harris 5 years ago committed by jvoisin
parent 153ad19b6b
commit 86a5b8708d
  1. 3
      airsonic-main/src/main/java/org/airsonic/player/security/JWTRequestParameterProcessingFilter.java
  2. 1
      checkstyle.xml

@ -27,7 +27,8 @@ public class JWTRequestParameterProcessingFilter implements Filter {
private final AuthenticationFailureHandler failureHandler;
protected JWTRequestParameterProcessingFilter(AuthenticationManager authenticationManager, String failureUrl) {
this.authenticationManager = authenticationManager; failureHandler = new SimpleUrlAuthenticationFailureHandler(failureUrl);
this.authenticationManager = authenticationManager;
failureHandler = new SimpleUrlAuthenticationFailureHandler(failureUrl);
}
public Authentication attemptAuthentication(HttpServletRequest request, HttpServletResponse response) throws AuthenticationException, IOException, ServletException {

@ -31,6 +31,7 @@
<module name="EqualsHashCode"/>
<module name="Indentation"/>
<module name="InnerAssignment"/>
<module name="OneStatementPerLine"/>
<module name="ParenPadCheck"/>
<module name="RedundantImport"/>
<module name="StringLiteralEquality"/>

Loading…
Cancel
Save