Format source code.

Edit Javadoc.
This commit is contained in:
John Blum
2020-06-17 19:19:59 -07:00
parent af6340f8a0
commit bb63670d65
2 changed files with 9 additions and 9 deletions

View File

@@ -31,8 +31,8 @@ import org.springframework.lang.NonNull;
import org.springframework.test.context.event.AfterTestClassEvent;
/**
* Spring {@link Configuration} class used to register beans that collect garbage irresponsibly left behind by
* Apache Geode when its processes shutdown, even in a test context.
* Spring {@link Configuration} class used to register beans that collect garbage and other resources irresponsibly
* left behind by Apache Geode when its processes shutdown, even in a test context.
*
* @author John Blum
* @see java.lang.annotation.Annotation
@@ -43,7 +43,7 @@ import org.springframework.test.context.event.AfterTestClassEvent;
* @see org.springframework.context.annotation.ImportAware
* @see org.springframework.core.type.AnnotationMetadata
* @see org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
* @see GemFireGarbageCollectorApplicationListener
* @see org.springframework.data.gemfire.tests.integration.context.event.GemFireGarbageCollectorApplicationListener
* @since 0.0.17
*/
@Configuration
@@ -58,11 +58,6 @@ public class GemFireGarbageCollectorConfiguration extends AbstractAnnotationConf
private Class<? extends ApplicationEvent>[] gemfireGarbageCollectorEventTypes =
new Class[] { AfterTestClassEvent.class };
@Override
protected Class<? extends Annotation> getAnnotationType() {
return EnableGemFireGarbageCollector.class;
}
@Override
@SuppressWarnings("unchecked")
public void setImportMetadata(@NonNull AnnotationMetadata importMetadata) {
@@ -80,6 +75,11 @@ public class GemFireGarbageCollectorConfiguration extends AbstractAnnotationConf
});
}
@Override
protected Class<? extends Annotation> getAnnotationType() {
return EnableGemFireGarbageCollector.class;
}
@SuppressWarnings("unchecked")
protected @NonNull Class<? extends ApplicationEvent>[] getGemFireGarbageCollectorEventTypes() {
return ArrayUtils.nullSafeArray(this.gemfireGarbageCollectorEventTypes, Class.class);

View File

@@ -82,7 +82,7 @@ public class GemFireMockObjectsConfiguration extends AbstractAnnotationConfigSup
return EnableGemFireMockObjects.class;
}
protected Class<? extends ApplicationEvent>[] getConfiguredDestroyEventTypes() {
protected @NonNull Class<? extends ApplicationEvent>[] getConfiguredDestroyEventTypes() {
return this.destroyEventTypes;
}