Set all @since Javadoc tags to 0.0.1.

This commit is contained in:
John Blum
2018-03-22 10:32:03 -07:00
parent c928f29298
commit 92be8ef208
19 changed files with 37 additions and 39 deletions

View File

@@ -140,7 +140,7 @@ import org.springframework.data.gemfire.tests.util.FileSystemUtils;
* @see org.apache.geode.distributed.DistributedSystem
* @see org.mockito.Mockito
* @see org.springframework.data.gemfire.tests.mock.MockObjectsSupport
* @since 2.0.0
* @since 0.0.1
*/
@SuppressWarnings("unused")
public abstract class MockGemFireObjectsSupport extends MockObjectsSupport {

View File

@@ -38,7 +38,7 @@ import org.springframework.util.StringUtils;
* @author John Blum
* @see org.mockito.invocation.InvocationOnMock
* @see org.mockito.stubbing.Answer
* @since 2.0.0
* @since 0.0.1
*/
@SuppressWarnings("unused")
public abstract class MockObjectsSupport {

View File

@@ -36,7 +36,7 @@ import org.springframework.context.annotation.Import;
* @see Target
* @see org.apache.geode.cache.GemFireCache
* @see org.springframework.context.annotation.Import
* @since 2.0.0
* @since 0.0.1
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)

View File

@@ -42,7 +42,7 @@ import org.springframework.data.gemfire.tests.mock.config.MockGemFireObjectsBean
* @see org.springframework.core.annotation.AnnotationAttributes
* @see org.springframework.core.type.AnnotationMetadata
* @see org.springframework.data.gemfire.test.mock.config.MockGemFireObjectsBeanPostProcessor
* @since 2.0.0
* @since 0.0.1
*/
@SuppressWarnings("unused")
@Configuration

View File

@@ -44,7 +44,7 @@ import org.springframework.test.context.junit4.SpringRunner;
* @see org.springframework.data.gemfire.test.mock.context.MockGemFireObjectsApplicationContextInitializer
* @see org.springframework.test.context.ContextConfiguration
* @see org.springframework.test.context.junit4.SpringRunner
* @since 2.0.0
* @since 0.0.1
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)

View File

@@ -47,7 +47,7 @@ import org.springframework.lang.Nullable;
* @see org.springframework.data.gemfire.client.ClientCacheFactoryBean
* @see org.springframework.data.gemfire.client.PoolFactoryBean
* @see org.springframework.data.gemfire.tests.mock.MockGemFireObjectsSupport
* @since 2.0.0
* @since 0.0.1
*/
public class MockGemFireObjectsBeanPostProcessor implements BeanPostProcessor {

View File

@@ -28,7 +28,7 @@ import org.springframework.data.gemfire.tests.mock.config.MockGemFireObjectsBean
* @see org.springframework.context.ApplicationContextInitializer
* @see org.springframework.context.ConfigurableApplicationContext
* @see org.springframework.data.gemfire.test.mock.config.MockGemFireObjectsBeanPostProcessor
* @since 2.0.0
* @since 0.0.1
*/
public class MockGemFireObjectsApplicationContextInitializer
implements ApplicationContextInitializer<ConfigurableApplicationContext> {

View File

@@ -23,8 +23,8 @@ import java.lang.reflect.Method;
* problems with {@link Method method} invocations on {@link Object Mock Objects}.
*
* @author John Blum
* @see org.springframework.data.gemfire.test.mock.support.MockObjectsException
* @since 2.0.1
* @see org.springframework.data.gemfire.tests.mock.support.MockObjectsException
* @since 0.0.1
*/
@SuppressWarnings("unused")
public class MockObjectInvocationException extends MockObjectsException {

View File

@@ -22,7 +22,7 @@ package org.springframework.data.gemfire.tests.mock.support;
*
* @author John Blum
* @see RuntimeException
* @since 2.0.1
* @since 0.0.1
*/
@SuppressWarnings("unused")
public class MockObjectsException extends RuntimeException {

View File

@@ -25,12 +25,13 @@ import java.util.logging.Logger;
import javax.sql.DataSource;
/**
* The DataSourceAdapter class is an implementation of the DataSource interface with unsupported operations by default.
* The {@link DataSourceAdapter} class is an implementation of the {@link DataSource} interface
* with unsupported operations by default.
*
* @author John Blum
* @see Connection
* @see DataSource
* @since 1.3.4
* @see java.sql.Connection
* @see javax.sql.DataSource
* @since 0.0.1
*/
@SuppressWarnings("unused")
public abstract class DataSourceAdapter implements DataSource {

View File

@@ -19,12 +19,12 @@ package org.springframework.data.gemfire.tests.support;
import java.util.concurrent.atomic.AtomicLong;
/**
* The IdentifierSequence class is an Identifier (ID) generator generating unique IDs in sequence.
* The {@link IdentifierSequence} class is an Identifier (ID) generator generating unique IDs in sequence.
*
* @author John Blum
* @see System#currentTimeMillis()
* @see AtomicLong
* @since 1.5.3
* @see java.lang.System#currentTimeMillis()
* @see java.util.concurrent.atomic.AtomicLong
* @since 0.0.1
*/
@SuppressWarnings("unused")
public abstract class IdentifierSequence {
@@ -34,5 +34,4 @@ public abstract class IdentifierSequence {
public static long nextId() {
return ID_SEQUENCE.incrementAndGet();
}
}

View File

@@ -24,7 +24,7 @@ import java.util.Map;
*
* @author John Blum
* @see Map
* @since 2.0.0
* @since 0.0.1
*/
public class MapBuilder<KEY, VALUE> {

View File

@@ -32,11 +32,11 @@ import org.springframework.util.Assert;
* file system directories and files collectively.
*
* @author John Blum
* @see File
* @see FileFilter
* @see org.springframework.data.gemfire.test.support.FileUtils
* @see org.springframework.data.gemfire.test.support.IOUtils
* @since 1.5.0
* @see java.io.File
* @see java.io.FileFilter
* @see org.springframework.data.gemfire.tests.util.FileUtils
* @see org.springframework.data.gemfire.tests.util.IOUtils
* @since 0.0.1
*/
@SuppressWarnings("unused")
public abstract class FileSystemUtils extends FileUtils {
@@ -49,13 +49,12 @@ public abstract class FileSystemUtils extends FileUtils {
public static final File[] NO_FILES = new File[0];
/* (non-Javadoc) */
public static boolean deleteRecursive(File path) {
return deleteRecursive(path, AllFilesFilter.INSTANCE);
}
/* (non-Javadoc) */
public static boolean deleteRecursive(File path, FileFilter fileFilter) {
boolean success = true;
if (isDirectory(path)) {
@@ -68,11 +67,12 @@ public abstract class FileSystemUtils extends FileUtils {
}
public static boolean exists(File path) {
return (path != null && path.exists());
return path != null && path.exists();
}
// returns sub-directory just below working directory
public static File getRootRelativeToWorkingDirectoryOrPath(File path) {
File localPath = path;
if (isDirectory(localPath)) {
@@ -84,10 +84,10 @@ public abstract class FileSystemUtils extends FileUtils {
return (localPath != null ? localPath : path);
}
/* (non-Javadoc) */
public static File[] listFiles(File directory, FileFilter fileFilter) {
Assert.isTrue(isDirectory(directory), String.format(
"File [%s] does not refer to a valid directory", directory));
Assert.isTrue(isDirectory(directory),
String.format("File [%s] does not refer to a valid directory", directory));
List<File> results = new ArrayList<File>();
@@ -103,12 +103,10 @@ public abstract class FileSystemUtils extends FileUtils {
return results.toArray(new File[results.size()]);
}
/* (non-Javadoc) */
public static File[] safeListFiles(File directory) {
return safeListFiles(directory, AllFilesFilter.INSTANCE);
}
/* (non-Javadoc) */
public static File[] safeListFiles(File directory, FileFilter fileFilter) {
FileFilter resolvedFileFilter = (fileFilter != null ? fileFilter : AllFilesFilter.INSTANCE);
File[] files = (isDirectory(directory) ? directory.listFiles(resolvedFileFilter) : null);

View File

@@ -35,7 +35,7 @@ import org.springframework.util.StringUtils;
* @see FileReader
* @see FileWriter
* @see org.springframework.data.gemfire.test.support.IOUtils
* @since 1.5.0
* @since 0.0.1
*/
@SuppressWarnings("unused")
public abstract class FileUtils extends IOUtils {

View File

@@ -31,7 +31,7 @@ import java.util.logging.Logger;
*
* @author John Blum
* @see Closeable
* @since 1.5.0
* @since 0.0.1
*/
@SuppressWarnings("unused")
public abstract class IOUtils {

View File

@@ -23,7 +23,7 @@ package org.springframework.data.gemfire.tests.util;
* @see StackTraceElement
* @see Thread
* @see org.springframework.data.gemfire.test.support.ThreadUtils
* @since 1.5.3
* @since 0.0.1
*/
@SuppressWarnings("unused")
public abstract class StackTraceUtils extends ThreadUtils {

View File

@@ -23,7 +23,7 @@ import java.util.concurrent.TimeUnit;
*
* @author John Blum
* @see Thread
* @since 1.5.0
* @since 0.0.1
*/
@SuppressWarnings("unused")
public abstract class ThreadUtils {

View File

@@ -26,7 +26,7 @@ import java.io.StringWriter;
* @see Error
* @see Exception
* @see Throwable
* @since 1.5.0
* @since 0.0.1
*/
@SuppressWarnings("unused")
public abstract class ThrowableUtils {

View File

@@ -35,7 +35,7 @@ import org.springframework.util.FileCopyUtils;
* @author John Blum
* @see File
* @see ZipFile
* @since 1.5.0
* @since 0.0.1
*/
public abstract class ZipUtils {