deps: Refactor dependencies (#3224)

* remove spring dep
move junit, logging, mockito under dep mgmt

* upgrade anti-corruption-layer deps

* async method invocation

* balking, bloc

* bridge to bytecode

* caching

* callback - cqrs

* component - health check

* hexagonal - metadata mapping

* rest of the patterns

* remove checkstyle, take spotless into use
This commit is contained in:
Ilkka Seppälä
2025-03-29 19:34:27 +02:00
committed by GitHub
parent 371439aeaa
commit 0ca162a55c
1863 changed files with 14408 additions and 17637 deletions
@@ -27,9 +27,7 @@ package com.iluwatar.doubledispatch;
import com.iluwatar.doubledispatch.constants.AppConstants;
import lombok.extern.slf4j.Slf4j;
/**
* Space station Mir game object.
*/
/** Space station Mir game object. */
@Slf4j
public class SpaceStationMir extends GameObject {
@@ -44,10 +42,12 @@ public class SpaceStationMir extends GameObject {
@Override
public void collisionResolve(FlamingAsteroid asteroid) {
LOGGER.info(AppConstants.HITS + " {} is damaged! {} is set on fire!", asteroid.getClass()
.getSimpleName(),
this.getClass().getSimpleName(), this.getClass().getSimpleName(), this.getClass()
.getSimpleName());
LOGGER.info(
AppConstants.HITS + " {} is damaged! {} is set on fire!",
asteroid.getClass().getSimpleName(),
this.getClass().getSimpleName(),
this.getClass().getSimpleName(),
this.getClass().getSimpleName());
setDamaged(true);
setOnFire(true);
}
@@ -71,7 +71,11 @@ public class SpaceStationMir extends GameObject {
}
private void logHits(GameObject gameObject) {
LOGGER.info(AppConstants.HITS, " {} is damaged!", gameObject.getClass().getSimpleName(),
this.getClass().getSimpleName(), this.getClass().getSimpleName());
LOGGER.info(
AppConstants.HITS,
" {} is damaged!",
gameObject.getClass().getSimpleName(),
this.getClass().getSimpleName(),
this.getClass().getSimpleName());
}
}
}