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
@@ -39,9 +39,7 @@ public abstract class ObjectPool<T> {
protected abstract T create();
/**
* Checkout object from pool.
*/
/** Checkout object from pool. */
public synchronized T checkOut() {
if (available.isEmpty()) {
available.add(create());
@@ -28,20 +28,15 @@ import java.util.concurrent.atomic.AtomicInteger;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
/**
* Oliphaunts are expensive to create.
*/
/** Oliphaunts are expensive to create. */
@Slf4j
public class Oliphaunt {
private static final AtomicInteger counter = new AtomicInteger(0);
@Getter
private final int id;
@Getter private final int id;
/**
* Constructor.
*/
/** Constructor. */
public Oliphaunt() {
id = counter.incrementAndGet();
try {
@@ -24,9 +24,7 @@
*/
package com.iluwatar.object.pool;
/**
* Oliphaunt object pool.
*/
/** Oliphaunt object pool. */
public class OliphauntPool extends ObjectPool<Oliphaunt> {
@Override