mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-11 03:13:32 +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;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void render() {
|
||||
cakeBakingService.getAllCakes().forEach(cake -> LOGGER.info(cake.toString()));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user