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
@@ -43,9 +43,7 @@ import lombok.extern.slf4j.Slf4j;
@Slf4j
public class App {
/**
* This example creates three HeroStats (value objects) and checks equality between those.
*/
/** This example creates three HeroStats (value objects) and checks equality between those. */
public static void main(String[] args) {
var statA = HeroStat.valueOf(10, 5, 0);
var statB = HeroStat.valueOf(10, 5, 0);
@@ -31,8 +31,7 @@ import lombok.Value;
* HeroStat is a value object.
*
* @see <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/doc-files/ValueBased.html">
* http://docs.oracle.com/javase/8/docs/api/java/lang/doc-files/ValueBased.html
* </a>
* http://docs.oracle.com/javase/8/docs/api/java/lang/doc-files/ValueBased.html </a>
*/
@Value(staticConstructor = "valueOf")
@ToString
@@ -24,17 +24,15 @@
*/
package com.iluwatar.value.object;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
/**
* Application test
*/
import org.junit.jupiter.api.Test;
/** Application test */
class AppTest {
@Test
void shouldExecuteApplicationWithoutException() {
assertDoesNotThrow(() -> App.main(new String[]{}));
assertDoesNotThrow(() -> App.main(new String[] {}));
}
}
@@ -29,17 +29,16 @@ import static org.junit.jupiter.api.Assertions.assertNotEquals;
import org.junit.jupiter.api.Test;
/**
* Unit test for HeroStat.
*/
/** Unit test for HeroStat. */
class HeroStatTest {
/**
* Tester for equals() and hashCode() methods of a class. Using guava's EqualsTester.
*
* @see <a href="http://static.javadoc.io/com.google.guava/guava-testlib/19.0/com/google/common/testing/EqualsTester.html">
* http://static.javadoc.io/com.google.guava/guava-testlib/19.0/com/google/common/testing/EqualsTester.html
* </a>
* @see <a
* href="http://static.javadoc.io/com.google.guava/guava-testlib/19.0/com/google/common/testing/EqualsTester.html">
* http://static.javadoc.io/com.google.guava/guava-testlib/19.0/com/google/common/testing/EqualsTester.html
* </a>
*/
@Test
void testEquals() {
@@ -60,5 +59,4 @@ class HeroStatTest {
assertEquals(heroStatA.toString(), heroStatB.toString());
assertNotEquals(heroStatA.toString(), heroStatC.toString());
}
}