Delete LawnMower.java

This commit is contained in:
kornelihno 2018-02-17 17:28:19 +01:00 committed by GitHub
parent 15481af880
commit 34cbaab012
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 19 deletions

View File

@ -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;
}
}