diff options
Diffstat (limited to 'java/com/google/gerrit/server/change/ChangeJson.java')
-rw-r--r-- | java/com/google/gerrit/server/change/ChangeJson.java | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/java/com/google/gerrit/server/change/ChangeJson.java b/java/com/google/gerrit/server/change/ChangeJson.java index c64cd129fe..05cd2358ce 100644 --- a/java/com/google/gerrit/server/change/ChangeJson.java +++ b/java/com/google/gerrit/server/change/ChangeJson.java @@ -613,8 +613,7 @@ public class ChangeJson { if (has(TRACKING_IDS)) { ListMultimap<String, String> set = trackingFooters.extract(cd.commitFooters()); out.trackingIds = - set.entries() - .stream() + set.entries().stream() .map(e -> new TrackingIdInfo(e.getKey(), e.getValue())) .collect(toList()); } @@ -754,16 +753,14 @@ public class ChangeJson { } private Collection<AccountInfo> toAccountInfo(Collection<Account.Id> accounts) { - return accounts - .stream() + return accounts.stream() .map(accountLoader::get) .sorted(AccountInfoComparator.ORDER_NULLS_FIRST) .collect(toList()); } private Collection<AccountInfo> toAccountInfoByEmail(Collection<Address> addresses) { - return addresses - .stream() + return addresses.stream() .map(a -> new AccountInfo(a.getName(), a.getEmail())) .sorted(AccountInfoComparator.ORDER_NULLS_FIRST) .collect(toList()); |