Format with GJF 1.7
Change-Id: Id0d1443915a394e2504025aeceb83bcb387221b3
diff --git a/owners-common/src/main/java/com/googlesource/gerrit/owners/common/AccountsImpl.java b/owners-common/src/main/java/com/googlesource/gerrit/owners/common/AccountsImpl.java
index d427ef9..8a12871 100644
--- a/owners-common/src/main/java/com/googlesource/gerrit/owners/common/AccountsImpl.java
+++ b/owners-common/src/main/java/com/googlesource/gerrit/owners/common/AccountsImpl.java
@@ -85,9 +85,7 @@
}
try {
- return groupMembers
- .listAccounts(group.get().getGroupUUID(), null)
- .stream()
+ return groupMembers.listAccounts(group.get().getGroupUUID(), null).stream()
.map(Account::getId)
.collect(Collectors.toSet());
} catch (NoSuchProjectException | IOException e) {
@@ -116,8 +114,7 @@
}
Set<Id> fulllyMatchedAccountIds =
- activeAccountIds
- .stream()
+ activeAccountIds.stream()
.filter(id -> isFullMatch(id, nameOrEmail))
.collect(Collectors.toSet());
if (fulllyMatchedAccountIds.isEmpty()) {
@@ -145,10 +142,7 @@
Account account = accountState.get().getAccount();
return isFullNameMatch(account, nameOrEmail)
|| nameOrEmail.equalsIgnoreCase(account.getPreferredEmail())
- || accountState
- .get()
- .getExternalIds()
- .stream()
+ || accountState.get().getExternalIds().stream()
.anyMatch(eid -> isEMailMatch(eid, nameOrEmail) || isUsernameMatch(eid, nameOrEmail));
}
diff --git a/owners-common/src/main/java/com/googlesource/gerrit/owners/common/PathOwnersEntry.java b/owners-common/src/main/java/com/googlesource/gerrit/owners/common/PathOwnersEntry.java
index 9b629b6..3a7111d 100644
--- a/owners-common/src/main/java/com/googlesource/gerrit/owners/common/PathOwnersEntry.java
+++ b/owners-common/src/main/java/com/googlesource/gerrit/owners/common/PathOwnersEntry.java
@@ -40,9 +40,7 @@
String path, OwnersConfig config, Accounts accounts, Set<Account.Id> inheritedOwners) {
this.ownersPath = path;
this.owners =
- config
- .getOwners()
- .stream()
+ config.getOwners().stream()
.flatMap(o -> accounts.find(o).stream())
.collect(Collectors.toSet());
if (config.isInherited()) {