Delete Boat.java

This commit is contained in:
kornelihno 2018-02-17 17:26:45 +01:00 committed by GitHub
parent 77735a57fd
commit 1b18720fb3
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 Boat {
private Engine engine;
@Autowired
public void setEngine(Engine engine) {
this.engine = engine;
}
public Engine getEngine() {
return engine;
}
}