mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 14:16:02 +00:00
feat: add override annotation (#3306)
Co-authored-by: behappyleee <72903623+behappyleee@users.noreply.github.com>
This commit is contained in:
1 parent
f93514af39
commit
9f0b7ae81d
1 file changed
+1
@@ -40,6 +40,7 @@ public class CakeViewImpl implements View {
|
|||||||
this.cakeBakingService = cakeBakingService;
|
this.cakeBakingService = cakeBakingService;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void render() {
|
public void render() {
|
||||||
cakeBakingService.getAllCakes().forEach(cake -> LOGGER.info(cake.toString()));
|
cakeBakingService.getAllCakes().forEach(cake -> LOGGER.info(cake.toString()));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user