Skip to content

Commit

Permalink
(fix) Added missing semicolon causing a compilation error. Closes #125
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-molak committed Jan 24, 2015
1 parent f6bcf7b commit a9084b1
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ public void init(FilterConfig filterConfig) throws ServletException {

@Override
public void doFilter(final ServletRequest request, final ServletResponse response, FilterChain chain) throws IOException, ServletException {
String path = ((HttpServletRequest) request).getPathInfo();
if (path == null) path = ((HttpServletRequest) request).getServletPath()
String path = ((HttpServletRequest) request).getPathInfo();
if (path == null) {
path = ((HttpServletRequest) request).getServletPath();
}

if (path != null && path.matches(pathToCSS)) {
sendCSS(response);
Expand Down

0 comments on commit a9084b1

Please sign in to comment.