mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 10:58:42 +00:00
* refactoring #1012: Format specifiers should be used instead of string concatenation. * refactoring #1012: Format specifiers should be used instead of string concatenation. * refactoring #1012: Remove isInfoEnabled check
This commit is contained in:
@@ -65,6 +65,6 @@ public class Statue extends Entity {
|
||||
}
|
||||
|
||||
private void shootLightning() {
|
||||
logger.info("Statue " + id + " shoots lightning!");
|
||||
logger.info("Statue {} shoots lightning!", id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user