package name.matco.simcity.model;

import java.util.List;
import java.util.Optional;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

@JsonInclude(value = Include.NON_NULL)
public class Ingredient {

	public String id;
	public String name;
	public Long time;

	public List<Dependency> dependencies;

	public Optional<Dependency> getDependency(final String id) {
		return dependencies.stream().filter((final Dependency d) -> d.id.equals(id)).findFirst();
	}
}

@@ -416,17 +416,27 @@
  String 
-i
+dependencyI
 d) %7B%0A%09%09r
@@ -506,17 +506,27 @@
 .equals(
-i
+dependencyI
 d)).find

Improve code syntax