mirror of
https://gitee.com/dcren/initializr.git
synced 2025-12-26 14:15:53 +08:00
Polish "Polish local variables and lambda names"
Closes gh-752
This commit is contained in:
@@ -65,7 +65,8 @@ public class AbstractProjectRequestPostProcessor implements ProjectRequestPostPr
|
||||
*/
|
||||
protected Dependency getDependency(ProjectRequest request, String id) {
|
||||
return request.getResolvedDependencies().stream()
|
||||
.filter((dependency) -> id.equals(dependency.getId())).findFirst().orElse(null);
|
||||
.filter((dependency) -> id.equals(dependency.getId())).findFirst()
|
||||
.orElse(null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user