diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-03-10 15:02:21 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-03-10 15:02:21 +1300 |
commit | eedfb54d208ba48783cb9d03a775723660e9ff73 (patch) | |
tree | 146f0da2a1d64445eb80255b886f0e47be86c7f3 /src/org/traccar/api | |
parent | 6259ca71bc9c1963e049226a375e058af9dc29c0 (diff) | |
download | trackermap-server-eedfb54d208ba48783cb9d03a775723660e9ff73.tar.gz trackermap-server-eedfb54d208ba48783cb9d03a775723660e9ff73.tar.bz2 trackermap-server-eedfb54d208ba48783cb9d03a775723660e9ff73.zip |
Fix PMD code issues
Diffstat (limited to 'src/org/traccar/api')
-rw-r--r-- | src/org/traccar/api/MediaFilter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/api/MediaFilter.java b/src/org/traccar/api/MediaFilter.java index 4685ce05b..25e242b01 100644 --- a/src/org/traccar/api/MediaFilter.java +++ b/src/org/traccar/api/MediaFilter.java @@ -43,7 +43,7 @@ public class MediaFilter implements Filter { @Override public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { - HttpServletResponse httpResponse = ((HttpServletResponse) response); + HttpServletResponse httpResponse = (HttpServletResponse) response; try { HttpSession session = ((HttpServletRequest) request).getSession(false); Long userId = null; |