Skip to content

Commit

Permalink
forgot to remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
dries007 committed Apr 11, 2015
1 parent 99dd485 commit 7d5facc
Showing 1 changed file with 0 additions and 19 deletions.
Expand Up @@ -118,18 +118,6 @@ protected boolean handle(String uri, Request request, Response response) throws
// Put all session data in map, take 1
data.putAll(request.getSession().attributes());

Main.LOGGER.info("==============================");
Main.LOGGER.info("BEFORE: {}", uri);
for (String key : data.keySet())
{
Main.LOGGER.info("{}: {}", key, data.get(key));
}
Main.LOGGER.info("PARAMETERS");
for (String key : request.getParameterNames())
{
Main.LOGGER.info("{}: {}", key, Constants.JOINER_COMMA_SPACE.join(request.getParameterValues(key)));
}

/**
* Data processing
*/
Expand All @@ -151,13 +139,6 @@ else if (request.getMethod() == Method.POST)
response.sendError(HttpStatus.METHOD_NOT_ALLOWED_405.getStatusCode());
}

Main.LOGGER.info("AFTER:");
for (String key : data.keySet())
{
Main.LOGGER.info("{}: {}", key, data.get(key));
}
Main.LOGGER.info("==============================");

if (uri == null) return true;

/**
Expand Down

0 comments on commit 7d5facc

Please sign in to comment.