Skip to content
Snippets Groups Projects
Commit 3236f8ce authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Removed some CouchDB debugging code.

parent 85fdb923
No related merge requests found
......@@ -1378,13 +1378,11 @@ public class CouchDBDao implements IDatabaseDao {
View view = new View("logged_in/by_and_only_timestamp_and_username");
view.setEndKey("[" + URLEncoder.encode(String.valueOf(inactiveBeforeTimestamp) + ",{}", "UTF-8") + "]");
LOGGER.debug("View: {}", view.getFullName());
ViewResults results = this.getDatabase().view(view);
LOGGER.debug("Result count: {}", String.valueOf(results.size()));
LOGGER.debug("getInactiveUsers result count: {}", String.valueOf(results.size()));
List<String> result = new ArrayList<String>();
for (Document d : results.getResults()) {
LOGGER.debug("key: {}", d.getString("key"));
result.add(d.getJSONObject().getJSONArray("key").getString(1));
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment