From 5b33c8da54067095015d560539ec70a188eaef42 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Mon, 18 Jul 2016 09:56:03 +0200 Subject: Fix quality flaws --- .../src/main/java/org/sonar/db/user/UserTokenDao.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'sonar-db') diff --git a/sonar-db/src/main/java/org/sonar/db/user/UserTokenDao.java b/sonar-db/src/main/java/org/sonar/db/user/UserTokenDao.java index 55a692bd46a..07e40e04f05 100644 --- a/sonar-db/src/main/java/org/sonar/db/user/UserTokenDao.java +++ b/sonar-db/src/main/java/org/sonar/db/user/UserTokenDao.java @@ -59,14 +59,14 @@ public class UserTokenDao implements Dao { public Map countTokensByLogins(DbSession dbSession, List logins) { Map result = new HashMap<>(logins.size()); executeLargeInputs( - logins, - input -> { - List userTokenCounts = mapper(dbSession).countTokensByLogins(input); - for (UserTokenCount userTokenCount : userTokenCounts) { - result.put(userTokenCount.getLogin(), userTokenCount.tokenCount()); - } - return userTokenCounts; - }); + logins, + input -> { + List userTokenCounts = mapper(dbSession).countTokensByLogins(input); + for (UserTokenCount userTokenCount : userTokenCounts) { + result.put(userTokenCount.getLogin(), userTokenCount.tokenCount()); + } + return userTokenCounts; + }); return result; } -- cgit v1.2.3