Skip to content

Commit ab3b6fc

Browse files
Remove redundant stream()
1 parent 247a5c1 commit ab3b6fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/jenkins/agents/CloudSet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public String getCloudUpdateCenterCategoryLabel() {
141141
@Override
142142
public ModelObjectWithContextMenu.ContextMenu doChildrenContextMenu(StaplerRequest2 request, StaplerResponse2 response) throws Exception {
143143
ModelObjectWithContextMenu.ContextMenu m = new ModelObjectWithContextMenu.ContextMenu();
144-
Jenkins.get().clouds.stream().forEach(m::add);
144+
Jenkins.get().clouds.forEach(m::add);
145145
return m;
146146
}
147147

0 commit comments

Comments
 (0)