Merge "Format Java files with google-java-format"
diff --git a/src/main/java/com/googlesource/gerrit/plugins/findowners/Checker.java b/src/main/java/com/googlesource/gerrit/plugins/findowners/Checker.java
index 32561e0..04b9784 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/findowners/Checker.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/findowners/Checker.java
@@ -86,9 +86,7 @@
// the external IDs, but the preferred email may still be null (also emails may have been
// deleted after creating the change). Skip the author if it doesn't have a preferred email.
Optional<String> author =
- accountCache
- .get(changeData.change().getOwner())
- .map(a -> a.account().preferredEmail());
+ accountCache.get(changeData.change().getOwner()).map(a -> a.account().preferredEmail());
if (author.isPresent() && (!map.containsKey(author.get()) || map.get(author.get()) == 0)) {
map.put(author.get(), minVoteLevel);
}