GH-1 - Consistent author names.

This commit is contained in:
Oliver Drotbohm
2022-07-19 14:57:12 +02:00
parent da278f7774
commit 48ea08ae59
46 changed files with 49 additions and 49 deletions

View File

@@ -23,7 +23,7 @@ import java.lang.annotation.Target;
/**
* Annotation to customize information of a {@link Modulith} module.
*
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Target({ ElementType.PACKAGE, ElementType.ANNOTATION_TYPE })
@Retention(RetentionPolicy.RUNTIME)

View File

@@ -33,7 +33,7 @@ import org.springframework.core.annotation.AliasFor;
/**
* Defines a Spring Boot application to follow the Modulith structuring conventions.
*
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Documented
@Target(ElementType.TYPE)

View File

@@ -24,7 +24,7 @@ import java.lang.annotation.Target;
/**
* Annotation to mark a package as named interface of a {@link Module} (either implicit or explicitly annotated).
*
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Documented
@Target({ ElementType.PACKAGE, ElementType.TYPE })

View File

@@ -44,7 +44,7 @@ import com.tngtech.archunit.core.domain.JavaType;
import com.tngtech.archunit.core.domain.properties.HasName;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@ToString
@EqualsAndHashCode

View File

@@ -38,7 +38,7 @@ import com.tngtech.archunit.thirdparty.com.google.common.base.Supplier;
import com.tngtech.archunit.thirdparty.com.google.common.base.Suppliers;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@EqualsAndHashCode
@RequiredArgsConstructor(access = AccessLevel.PRIVATE)

View File

@@ -58,7 +58,7 @@ import com.tngtech.archunit.thirdparty.com.google.common.base.Supplier;
import com.tngtech.archunit.thirdparty.com.google.common.base.Suppliers;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@EqualsAndHashCode(doNotUseGetters = true)
public class Module {

View File

@@ -47,7 +47,7 @@ import com.tngtech.archunit.lang.FailureReport;
import com.tngtech.archunit.library.dependencies.SlicesRuleDefinition;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
* @author Peter Gafert
*/
@AllArgsConstructor(access = AccessLevel.PRIVATE)

View File

@@ -33,7 +33,7 @@ import com.tngtech.archunit.core.domain.JavaModifier;
import com.tngtech.archunit.core.domain.properties.HasModifiers;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@RequiredArgsConstructor(access = AccessLevel.PROTECTED)
public abstract class NamedInterface implements Iterable<JavaClass> {

View File

@@ -33,7 +33,7 @@ import org.springframework.util.MultiValueMap;
import com.tngtech.archunit.core.domain.JavaClass;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@RequiredArgsConstructor(access = AccessLevel.PRIVATE)
public class NamedInterfaces implements Iterable<NamedInterface> {

View File

@@ -74,7 +74,7 @@ import com.tngtech.archunit.core.domain.JavaClass;
/**
* API to create documentation for {@link Modules}.
*
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public class Documenter {
@@ -536,7 +536,7 @@ public class Documenter {
/**
* Options to tweak the rendering of diagrams.
*
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Getter(AccessLevel.PRIVATE)
@RequiredArgsConstructor(access = AccessLevel.PRIVATE)

View File

@@ -35,7 +35,7 @@ import com.acme.myproject.Application;
/**
* Unit tests for {@link Documenter}.
*
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
class DocumenterTest {

View File

@@ -36,7 +36,7 @@ import org.springframework.core.type.AnnotationMetadata;
import org.springframework.modulith.events.config.EnablePersistentDomainEvents.PersistentDomainEventsImportSelector;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)

View File

@@ -16,6 +16,6 @@
package org.springframework.modulith.events.config;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
public interface EventPublicationConfigurationExtension {}

View File

@@ -16,6 +16,6 @@
package org.springframework.modulith.events.config;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
public interface EventSerializationConfigurationExtension {}

View File

@@ -20,7 +20,7 @@ import static org.assertj.core.api.Assertions.*;
import org.junit.jupiter.api.Test;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
class CompletableEventPublicationUnitTest {

View File

@@ -26,7 +26,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Configuration(proxyBeanMethods = false)
@RequiredArgsConstructor

View File

@@ -26,7 +26,7 @@ import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@RequiredArgsConstructor
class JacksonEventSerializer implements EventSerializer {
@@ -35,7 +35,7 @@ class JacksonEventSerializer implements EventSerializer {
/*
* (non-Javadoc)
* @see de.olivergierke.events.EventSerializer#serialize(java.lang.Object)
* @see de.oliverDrotbohm.events.EventSerializer#serialize(java.lang.Object)
*/
@Override
public Object serialize(Object event) {
@@ -49,7 +49,7 @@ class JacksonEventSerializer implements EventSerializer {
/*
* (non-Javadoc)
* @see de.olivergierke.events.EventSerializer#deserialize(java.lang.Object, java.lang.Class)
* @see de.oliverDrotbohm.events.EventSerializer#deserialize(java.lang.Object, java.lang.Class)
*/
@Override
public Object deserialize(Object serialized, Class<?> type) {

View File

@@ -28,7 +28,7 @@ import java.time.Instant;
import java.util.UUID;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Data
@Entity

View File

@@ -24,7 +24,7 @@ import org.springframework.modulith.events.EventSerializer;
import org.springframework.modulith.events.config.EventPublicationConfigurationExtension;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Configuration(proxyBeanMethods = false)
@RequiredArgsConstructor

View File

@@ -29,7 +29,7 @@ import org.springframework.modulith.events.config.EnablePersistentDomainEvents;
/**
* Enables auto-configuration for the events package.
*
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Configuration
@AutoConfigureBefore(HibernateJpaAutoConfiguration.class)

View File

@@ -37,7 +37,7 @@ import org.springframework.transaction.annotation.Transactional;
import org.springframework.transaction.event.TransactionalEventListener;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
class PersistentDomainEventIntegrationTest {

View File

@@ -30,7 +30,7 @@ import com.acme.myproject.complex.internal.SecondTypeBasePort;
import com.acme.myproject.moduleA.SomeConfigurationA.SomeAtBeanComponentA;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
* @author Peter Gafert
*/
class ModulesIntegrationTest {

View File

@@ -18,7 +18,7 @@ package com.acme.myproject;
import org.springframework.modulith.Modulith;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Modulith
public class Application {

View File

@@ -17,7 +17,7 @@ package com.acme.myproject.complex.api;
/**
*
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
public class ComplexApiComponent {

View File

@@ -18,7 +18,7 @@ package com.acme.myproject.complex.internal;
import org.springframework.stereotype.Component;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Component
class ComplextInternalComponent {

View File

@@ -17,7 +17,7 @@ package com.acme.myproject.complex.spi;
/**
*
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
public class ComplexSpiComponent {

View File

@@ -18,7 +18,7 @@ package com.acme.myproject.cycleA;
import com.acme.myproject.cycleB.CycleB;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
public class CycleA {
CycleB cycleB;

View File

@@ -18,7 +18,7 @@ package com.acme.myproject.cycleB;
import com.acme.myproject.cycleA.CycleA;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
public class CycleB {
CycleA cycleA;

View File

@@ -18,7 +18,7 @@ package com.acme.myproject.invalid;
import com.acme.myproject.moduleB.internal.InternalComponentB;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
public class InvalidComponent {

View File

@@ -18,7 +18,7 @@ package com.acme.myproject.invalid2;
import com.acme.myproject.moduleA.ServiceComponentA;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
public class InvalidModuleDependency {

View File

@@ -19,7 +19,7 @@ import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Configuration
public class SomeConfigurationA {

View File

@@ -23,7 +23,7 @@ import com.acme.myproject.moduleA.ServiceComponentA;
import com.acme.myproject.moduleB.internal.InternalComponentB;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Component
@RequiredArgsConstructor

View File

@@ -21,7 +21,7 @@ import org.springframework.stereotype.Component;
import com.acme.myproject.moduleA.SomeEventA;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Component
class SomeEventListenerB {

View File

@@ -18,7 +18,7 @@ package com.acme.myproject.moduleB.internal;
import org.springframework.stereotype.Component;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Component
public class InternalComponentB {

View File

@@ -18,7 +18,7 @@ package com.acme.myproject.moduleB.internal;
import org.springframework.stereotype.Component;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Component
class SupportingComponentB {

View File

@@ -22,7 +22,7 @@ import org.springframework.stereotype.Component;
import com.acme.myproject.moduleB.ServiceComponentB;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Component
@RequiredArgsConstructor

View File

@@ -30,7 +30,7 @@ import com.tngtech.archunit.core.domain.JavaClass;
/**
* Test cases to verify the validity of the overall modulith rules
*
* @author Oliver Gierke
* @author Oliver Drotbohm
* @author Peter Gafert
*/
class ModulithTest {

View File

@@ -25,7 +25,7 @@ import org.springframework.modulith.test.ModuleTest;
import org.springframework.modulith.test.ModuleTest.BootstrapMode;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)

View File

@@ -26,7 +26,7 @@ import org.springframework.modulith.test.ModuleTestExecution;
import com.acme.myproject.NonVerifyingModuleTest;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@NonVerifyingModuleTest
class ComplexTest {

View File

@@ -32,7 +32,7 @@ import com.acme.myproject.moduleA.ServiceComponentA;
import com.acme.myproject.moduleB.internal.InternalComponentB;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
class ModuleBTest {

View File

@@ -29,7 +29,7 @@ import com.acme.myproject.moduleA.ServiceComponentA;
import com.acme.myproject.moduleB.ServiceComponentB;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
class ModuleCTest {

View File

@@ -36,7 +36,7 @@ import org.springframework.test.context.ContextCustomizerFactory;
import org.springframework.test.context.MergedContextConfiguration;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
class ModuleContextCustomizerFactory implements ContextCustomizerFactory {

View File

@@ -40,7 +40,7 @@ import org.springframework.util.StringUtils;
* scan and auto-configuration packages to the packages defined by the {@link ModuleTestExecution} in the application
* context.
*
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Configuration
@Import(ModuleTestAutoConfiguration.AutoConfigurationAndEntityScanPackageCustomizer.class)

View File

@@ -42,7 +42,7 @@ import com.tngtech.archunit.thirdparty.com.google.common.base.Supplier;
import com.tngtech.archunit.thirdparty.com.google.common.base.Suppliers;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@Slf4j
@EqualsAndHashCode(of = "key")

View File

@@ -25,7 +25,7 @@ import org.springframework.core.type.classreading.MetadataReader;
import org.springframework.core.type.classreading.MetadataReaderFactory;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
@EqualsAndHashCode(callSuper = false)
class ModuleTypeExcludeFilter extends TypeExcludeFilter {

View File

@@ -30,7 +30,7 @@ import org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDele
import org.springframework.test.context.support.DefaultBootstrapContext;
/**
* @author Oliver Gierke
* @author Oliver Drotbohm
*/
public class TestUtils {