Resolves checkstyle errors for delegation dependency-injection dirty-flag double-buffer double-checked-locking double-dispatch (#1068)
* Reduces checkstyle errors in delegation * Reduces checkstyle errors in dependency-injection * Reduces checkstyle errors in dirty-flag * Reduces checkstyle errors in double-buffer * Reduces checkstyle errors in double-checked-locking * Reduces checkstyle errors in double-dispatch
This commit is contained in:
committed by
Ilkka Seppälä
parent
01e489c77b
commit
f2c91eb836
@@ -23,15 +23,12 @@
|
||||
|
||||
package com.iluwatar.doubledispatch;
|
||||
|
||||
import com.iluwatar.doubledispatch.constants.AppConstants;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import com.iluwatar.doubledispatch.constants.AppConstants;
|
||||
|
||||
/**
|
||||
*
|
||||
* Meteoroid game object
|
||||
*
|
||||
* Meteoroid game object.
|
||||
*/
|
||||
public class Meteoroid extends GameObject {
|
||||
|
||||
@@ -48,12 +45,14 @@ public class Meteoroid extends GameObject {
|
||||
|
||||
@Override
|
||||
public void collisionResolve(FlamingAsteroid asteroid) {
|
||||
LOGGER.info(AppConstants.HITS, asteroid.getClass().getSimpleName(), this.getClass().getSimpleName());
|
||||
LOGGER.info(AppConstants.HITS, asteroid.getClass().getSimpleName(), this.getClass()
|
||||
.getSimpleName());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void collisionResolve(Meteoroid meteoroid) {
|
||||
LOGGER.info(AppConstants.HITS, meteoroid.getClass().getSimpleName(), this.getClass().getSimpleName());
|
||||
LOGGER.info(AppConstants.HITS, meteoroid.getClass().getSimpleName(), this.getClass()
|
||||
.getSimpleName());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user