Skip to content

Commit af1d2e7

Browse files
FedotCompotitzg
andauthored
ref: simplified inline closure
Co-authored-by: Geoff Bourne <[email protected]>
1 parent 7110dda commit af1d2e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/me/itzg/helpers/users/ManageUsersCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public Integer call() throws Exception {
118118
}
119119

120120
private void processJavaUserIdList(SharedFetch sharedFetch, List<String> inputs) throws IOException {
121-
List<UserDef> userDefs = inputs.stream().map((String input) -> {return new UserDef(input);}).collect(Collectors.toList());
121+
List<UserDef> userDefs = inputs.stream().map(input -> new UserDef(input)).collect(Collectors.toList());
122122
if (usesTextUserList()) {
123123
verifyNotUuids(userDefs);
124124

0 commit comments

Comments
 (0)