GH-14 - Remove Lombok from production sources.

Polished a lot of Javadoc.
This commit is contained in:
Oliver Drotbohm
2023-01-12 00:54:04 +01:00
parent 20554c3af3
commit 9ce6bf23ae
87 changed files with 3546 additions and 1061 deletions

View File

@@ -17,8 +17,6 @@ package org.springframework.modulith.actuator;
import static java.util.stream.Collectors.*;
import lombok.extern.slf4j.Slf4j;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Map.Entry;
@@ -28,6 +26,8 @@ import java.util.function.Supplier;
import java.util.stream.Collector;
import java.util.stream.Collectors;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.actuate.endpoint.annotation.Endpoint;
import org.springframework.boot.actuate.endpoint.annotation.ReadOperation;
import org.springframework.modulith.model.ApplicationModule;
@@ -41,10 +41,11 @@ import org.springframework.util.Assert;
*
* @author Oliver Drotbohm
*/
@Slf4j
@Endpoint(id = "applicationmodules")
public class ApplicationModulesEndpoint {
private static final Logger LOGGER = LoggerFactory.getLogger(ApplicationModulesEndpoint.class);
private static final Function<Set<DependencyType>, Set<DependencyType>> REMOVE_DEFAULT_DEPENDENCY_TYPE_IF_OTHERS_PRESENT = it -> {
if (it.stream().anyMatch(type -> type != DependencyType.DEFAULT)) {
@@ -69,7 +70,7 @@ public class ApplicationModulesEndpoint {
Assert.notNull(runtime, "ModulesRuntime must not be null!");
LOG.debug("Activating Spring Modulith actuator.");
LOGGER.debug("Activating Spring Modulith actuator.");
this.runtime = runtime;
}