Skip to content

Commit 1522d56

Browse files
committed
Edit Javadoc in IntegrationTestsSupport.
Replace use of Java's @NotNull annotation with Spring's @nonnull annotation.
1 parent 033d7ae commit 1522d56

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/integration/IntegrationTestsSupport.java

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@
4040
import java.util.function.Supplier;
4141
import java.util.stream.Collectors;
4242

43-
import com.sun.istack.NotNull;
44-
4543
import org.junit.AfterClass;
4644
import org.junit.Before;
4745

@@ -83,24 +81,25 @@
8381
import org.springframework.util.ReflectionUtils;
8482

8583
/**
86-
* The {@link IntegrationTestsSupport} class is an abstract base class supporting integration tests
87-
* with either Apache Geode or VMware GemFire in a Spring context.
84+
* Abstract base class supporting integration tests with either Apache Geode or VMware Tanzu GemFire
85+
* in a Spring context.
8886
*
8987
* @author John Blum
9088
* @see java.io.File
91-
* @see java.time.LocalDateTime
92-
* @see java.util.concurrent.TimeUnit
93-
* @see java.util.function.Function
94-
* @see java.util.function.Predicate
9589
* @see org.apache.geode.DataSerializer
9690
* @see org.apache.geode.cache.GemFireCache
91+
* @see org.apache.geode.cache.client.ClientCache
92+
* @see org.apache.geode.cache.execute.FunctionService
9793
* @see org.apache.geode.distributed.Locator
94+
* @see org.apache.geode.internal.cache.CacheLifecycleListener
95+
* @see org.apache.geode.internal.cache.GemFireCacheImpl
9896
* @see org.springframework.context.ApplicationContext
9997
* @see org.springframework.context.ApplicationEvent
10098
* @see org.springframework.context.ApplicationEventPublisher
10199
* @see org.springframework.context.ApplicationEventPublisherAware
102100
* @see org.springframework.context.ConfigurableApplicationContext
103101
* @see org.springframework.core.env.ConfigurableEnvironment
102+
* @see org.springframework.core.env.Environment
104103
* @see org.springframework.core.env.PropertySource
105104
* @see org.springframework.core.env.StandardEnvironment
106105
* @see org.springframework.data.gemfire.support.GemfireBeanFactoryLocator
@@ -531,12 +530,12 @@ public static void stopGemFireLocatorWaitOnStopEvent(long duration) {
531530
return qualifiedDirectoryName;
532531
}
533532

534-
private static @NotNull String asTimestampedDirectoryName(@NonNull Class<?> type) {
533+
private static @NonNull String asTimestampedDirectoryName(@NonNull Class<?> type) {
535534
return String.format(DIRECTORY_NAME_FORMAT, asQualifiedDirectoryName(type),
536535
LocalDateTime.now().format(DateTimeFormatter.ofPattern(DATE_TIME_PATTERN)));
537536
}
538537

539-
private static @NotNull String asUniqueDirectoryName(@NonNull Class<?> type) {
538+
private static @NonNull String asUniqueDirectoryName(@NonNull Class<?> type) {
540539
return String.format(DIRECTORY_NAME_FORMAT, asTimestampedDirectoryName(type), UUID.randomUUID());
541540
}
542541

0 commit comments

Comments
 (0)