Skip to content

Commit 195a735

Browse files
committed
iluwatar#508 fix SpaceStationMir logging
1 parent 633d45a commit 195a735

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

double-dispatch/src/main/java/com/iluwatar/doubledispatch/SpaceStationMir.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public void collision(GameObject gameObject) {
4545

4646
@Override
4747
public void collisionResolve(FlamingAsteroid asteroid) {
48-
LOGGER.info(AppConstants.HITS, " {} is damaged! {} is set on fire!", asteroid.getClass()
48+
LOGGER.info(AppConstants.HITS + " {} is damaged! {} is set on fire!", asteroid.getClass()
4949
.getSimpleName(),
5050
this.getClass().getSimpleName(), this.getClass().getSimpleName(), this.getClass()
5151
.getSimpleName());
@@ -55,14 +55,14 @@ public void collisionResolve(FlamingAsteroid asteroid) {
5555

5656
@Override
5757
public void collisionResolve(Meteoroid meteoroid) {
58-
LOGGER.info(AppConstants.HITS, " {} is damaged!", meteoroid.getClass().getSimpleName(),
58+
LOGGER.info(AppConstants.HITS + " {} is damaged!", meteoroid.getClass().getSimpleName(),
5959
this.getClass().getSimpleName(), this.getClass().getSimpleName());
6060
setDamaged(true);
6161
}
6262

6363
@Override
6464
public void collisionResolve(SpaceStationMir mir) {
65-
LOGGER.info(AppConstants.HITS, " {} is damaged!", mir.getClass().getSimpleName(),
65+
LOGGER.info(AppConstants.HITS + " {} is damaged!", mir.getClass().getSimpleName(),
6666
this.getClass().getSimpleName(), this.getClass().getSimpleName());
6767
setDamaged(true);
6868
}

0 commit comments

Comments
 (0)