Delete LawnMower.java
This commit is contained in:
parent
15481af880
commit
34cbaab012
|
@ -1,19 +0,0 @@
|
|||
package com.baeldung.beaninjectiontypes;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
public class LawnMower {
|
||||
|
||||
@Autowired
|
||||
private Engine engine;
|
||||
|
||||
public LawnMower(Engine engine) {
|
||||
this.engine = engine;
|
||||
}
|
||||
|
||||
public Engine getEngine() {
|
||||
return engine;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue