From 10a84f1ef8505cbc444f11030361755f46960a45 Mon Sep 17 00:00:00 2001 From: John Blum Date: Mon, 17 Oct 2022 12:21:20 -0700 Subject: [PATCH] Edit Javadoc in IntegrationTestsSupport. Replace use of Java's @NotNull annotation with Spring's @NonNull annotation. --- .../integration/IntegrationTestsSupport.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/integration/IntegrationTestsSupport.java b/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/integration/IntegrationTestsSupport.java index 9715cd3..c11ed1b 100644 --- a/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/integration/IntegrationTestsSupport.java +++ b/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/integration/IntegrationTestsSupport.java @@ -39,8 +39,6 @@ import java.util.function.Function; import java.util.function.Predicate; import java.util.function.Supplier; -import com.sun.istack.NotNull; - import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; @@ -83,27 +81,29 @@ import org.springframework.util.ReflectionUtils; import org.springframework.util.StringUtils; /** - * The {@link IntegrationTestsSupport} class is an abstract base class supporting integration tests - * with either Apache Geode or VMware GemFire in a Spring context. + * Abstract base class supporting integration tests with either Apache Geode or VMware Tanzu GemFire + * in a Spring context. * * @author John Blum * @see java.io.File - * @see java.time.LocalDateTime - * @see java.util.concurrent.TimeUnit - * @see java.util.function.Function - * @see java.util.function.Predicate * @see org.apache.geode.DataSerializer * @see org.apache.geode.cache.GemFireCache + * @see org.apache.geode.cache.client.ClientCache + * @see org.apache.geode.cache.execute.FunctionService * @see org.apache.geode.distributed.Locator + * @see org.apache.geode.internal.cache.CacheLifecycleListener + * @see org.apache.geode.internal.cache.GemFireCacheImpl * @see org.springframework.context.ApplicationContext * @see org.springframework.context.ApplicationEvent * @see org.springframework.context.ApplicationEventPublisher * @see org.springframework.context.ApplicationEventPublisherAware * @see org.springframework.context.ConfigurableApplicationContext * @see org.springframework.core.env.ConfigurableEnvironment + * @see org.springframework.core.env.Environment * @see org.springframework.core.env.PropertySource * @see org.springframework.core.env.StandardEnvironment * @see org.springframework.data.gemfire.support.GemfireBeanFactoryLocator + * @see org.springframework.data.gemfire.tests.config.TestProperties * @see org.springframework.data.gemfire.tests.mock.GemFireMockObjectsSupport * @since 1.0.0 */ @@ -554,12 +554,12 @@ public abstract class IntegrationTestsSupport { return qualifiedDirectoryName; } - private static @NotNull String asTimestampedDirectoryName(@NonNull Class type) { + private static @NonNull String asTimestampedDirectoryName(@NonNull Class type) { return String.format(DIRECTORY_NAME_FORMAT, asQualifiedDirectoryName(type), LocalDateTime.now().format(DateTimeFormatter.ofPattern(DATE_TIME_PATTERN))); } - private static @NotNull String asUniqueDirectoryName(@NonNull Class type) { + private static @NonNull String asUniqueDirectoryName(@NonNull Class type) { return String.format(DIRECTORY_NAME_FORMAT, asTimestampedDirectoryName(type), UUID.randomUUID()); }