Toggle navigation
Home
io.fabric8.kubernetes.api.model.KubernetesList to java.util.List<io.fabric8.kubernetes.api.model.HasMetadata>
No. of Instances - 7
No. of Commits - 2
No. of Projects - {'che'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Jdk
Mapping:
Add or Remove Method invocation
clientFactory.create().lists().load(new ByteArrayInputStream(content.getBytes())).get()
to
clientFactory.create().load(new ByteArrayInputStream(content.getBytes())).get()
clientFactory.create().lists().load(new ByteArrayInputStream(content.getBytes())).get()
to
clientFactory.create().load(new ByteArrayInputStream(content.getBytes())).get()
list.getItems().stream().filter(item -> matchLabels(item,selector))
to
list.stream().filter(item -> matchLabels(item,selector))
toList()
to
toCollection(ArrayList::new)
list
to
new KubernetesListBuilder().withItems(list).build()
recipeObjects.getItems().stream().filter(hasMetadata -> hasMetadata instanceof Pod).map(hasMetadata -> (Pod)hasMetadata)
to
recipeObjects.stream().filter(hasMetadata -> hasMetadata instanceof Pod).map(hasMetadata -> (Pod)hasMetadata)