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