Skip to content

Commit

Permalink
checkstyle
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Lamy <[email protected]>
  • Loading branch information
olamy committed Mar 30, 2022
1 parent c8102a5 commit 154fd57
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,10 @@ public String getErrorPage(HttpServletRequest request)
* @param t the initial exception
* @return the first non {@link ServletException} from root cause chain
*/
private Throwable getFirstNonServletException(Throwable t) {
if(t instanceof ServletException && t.getCause()!=null) {
private Throwable getFirstNonServletException(Throwable t)
{
if (t instanceof ServletException && t.getCause() != null)
{
return getFirstNonServletException(t.getCause());
}
return t;
Expand Down

0 comments on commit 154fd57

Please sign in to comment.