diff --git a/spring-core/src/main/java/com/baeldung/beaninjectiontypes/Boat.java b/spring-core/src/main/java/com/baeldung/beaninjectiontypes/Boat.java deleted file mode 100644 index a7138aff40..0000000000 --- a/spring-core/src/main/java/com/baeldung/beaninjectiontypes/Boat.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.baeldung.beaninjectiontypes; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Component; - -@Component -public class Boat { - - private Engine engine; - - @Autowired - public void setEngine(Engine engine) { - this.engine = engine; - } - - public Engine getEngine() { - return engine; - } -}