aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/BaseServlet.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-14 11:27:29 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-14 11:27:29 +1300
commit503e44d8484fcbc61a341f35e7900def94553106 (patch)
tree3ba95c99912ab53ad2787e93258c8edbe23ac2c4 /src/org/traccar/web/BaseServlet.java
parent766064092ca4f85eacfa741e1ff772ea5b981d1a (diff)
downloadtrackermap-server-503e44d8484fcbc61a341f35e7900def94553106.tar.gz
trackermap-server-503e44d8484fcbc61a341f35e7900def94553106.tar.bz2
trackermap-server-503e44d8484fcbc61a341f35e7900def94553106.zip
More check style issues clean up
Diffstat (limited to 'src/org/traccar/web/BaseServlet.java')
-rw-r--r--src/org/traccar/web/BaseServlet.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/org/traccar/web/BaseServlet.java b/src/org/traccar/web/BaseServlet.java
index 6e06e95ba..cfdff40d3 100644
--- a/src/org/traccar/web/BaseServlet.java
+++ b/src/org/traccar/web/BaseServlet.java
@@ -33,7 +33,9 @@ public abstract class BaseServlet extends HttpServlet {
public static final String USER_KEY = "user";
@Override
- protected final void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
+ protected final void service(
+ HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
+
String command = req.getPathInfo();
if (command == null) {
command = "";
@@ -52,7 +54,8 @@ public abstract class BaseServlet extends HttpServlet {
}
}
- protected abstract boolean handle(String command, HttpServletRequest req, HttpServletResponse resp) throws Exception;
+ protected abstract boolean handle(
+ String command, HttpServletRequest req, HttpServletResponse resp) throws Exception;
public long getUserId(HttpServletRequest req) {
Long userId = (Long) req.getSession().getAttribute(USER_KEY);