commit | d3eabb98f582a5dcde4e97b13e3bc651b2684a2c | [log] [tgz] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Fri Apr 12 14:23:46 2019 -0700 |
committer | David Pursehouse <dpursehouse@collab.net> | Mon Apr 15 10:16:37 2019 +0900 |
tree | 534b2387f23b3dec27c962171af4ae5966da2ac6 | |
parent | 945ce22353ddb9e26c82f350cba3a73a2a257bfb [diff] |
Format with google-java-format 1.7 Change-Id: I2a83f6c305292b6b190d489e07fead2a9f128564
diff --git a/src/main/java/com/googlesource/gerrit/plugins/simplesubmitrules/config/ConfigTranslator.java b/src/main/java/com/googlesource/gerrit/plugins/simplesubmitrules/config/ConfigTranslator.java index 64e2aa9..9904b13 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/simplesubmitrules/config/ConfigTranslator.java +++ b/src/main/java/com/googlesource/gerrit/plugins/simplesubmitrules/config/ConfigTranslator.java
@@ -143,10 +143,7 @@ // labels to be able to modify it locally. Map<String, LabelType> copiedLabelTypes = projectConfig.getLabelSections(); ProjectState projectState = projectCache.checkedGet(projectConfig.getName()); - projectState - .getLabelTypes() - .getLabelTypes() - .stream() + projectState.getLabelTypes().getLabelTypes().stream() .filter(l -> l.getName().equals(entry.getKey())) .filter(l -> l.canOverride()) .forEach(l -> copiedLabelTypes.put(l.getName(), copyLabelType(l)));