JCLOUDS-546: Remove Javadoc @author annotations

Annotations removed with:

find -name \*.java | xargs sed -i /@author/d

Empty Javadoc removed with multiple iterations of:

find -name \*.java | xargs sed -i -z 's/ \*\n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/ \* \n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/\/\*\*\n \*\/\n//'
This commit is contained in:
Andrew Gaul 2014-06-06 19:16:34 -07:00
parent 39f77ad3f8
commit 9cdd53b0b7
4416 changed files with 1 additions and 11639 deletions

View File

@ -33,8 +33,6 @@ import com.google.inject.Module;
/**
* Implementation of {@link ApiMetadata} for EMC Atmos API
*
* @author Adrian Cole
*/
public class AtmosApiMetadata extends BaseRestApiMetadata {

View File

@ -74,7 +74,6 @@ import com.google.inject.Provides;
*
* @see AtmosClient
* @see <a href="https://community.emc.com/community/labs/atmos_online" />
* @author Adrian Cole
*
* @deprecated please use {@code org.jclouds.ContextBuilder#buildApi(AtmosClient.class)} as
* {@link AtmosAsyncClient} interface will be removed in jclouds 1.7.

View File

@ -36,7 +36,6 @@ import com.google.inject.Provides;
*
* @see AtmosAsyncClient
* @see <a href="https://community.emc.com/community/labs/atmos_online" />
* @author Adrian Cole
*/
public interface AtmosClient extends Closeable {
/**

View File

@ -26,8 +26,6 @@ import org.jclouds.http.HttpResponseException;
*
* @see AtmosError
* @see ParseAtmosErrorFromXmlContent
* @author Adrian Cole
*
*/
public class AtmosResponseException extends HttpResponseException {

View File

@ -29,9 +29,6 @@ import org.jclouds.atmos.reference.AtmosHeaders;
import org.jclouds.http.HttpRequest;
import org.jclouds.rest.Binder;
/**
* @author Adrian Cole
*/
@Singleton
public class BindMetadataToHeaders implements Binder {
private final BindUserMetadataToHeaders metaBinder;

View File

@ -33,9 +33,6 @@ import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableMap.Builder;
import com.google.common.collect.Multimaps;
/**
* @author Adrian Cole
*/
@Singleton
public class BindUserMetadataToHeaders implements Binder, Function<UserMetadata, Map<String, String>> {

View File

@ -66,7 +66,6 @@ import com.google.common.util.concurrent.ListenableFuture;
import com.google.common.util.concurrent.ListeningExecutorService;
/**
* @author Adrian Cole
* @deprecated will be removed in jclouds 1.7, as async interfaces are no longer
* supported. Please use {@link AtmosBlobStore}
*/

View File

@ -38,10 +38,6 @@ import com.google.common.base.Function;
import com.google.common.collect.ImmutableList;
import com.google.common.reflect.Invokable;
/**
*
* @author Adrian Cole
*/
@Singleton
public class AtmosBlobRequestSigner implements BlobRequestSigner {
private final Function<Invocation, HttpRequest> processor;

View File

@ -53,9 +53,6 @@ import com.google.common.base.Supplier;
import com.google.common.cache.CacheLoader;
import com.google.common.cache.LoadingCache;
/**
* @author Adrian Cole
*/
@Singleton
public class AtmosBlobStore extends BaseBlobStore {
private final AtmosClient sync;

View File

@ -38,8 +38,6 @@ import com.google.inject.Scopes;
/**
* Configures the {@link AtmosBlobStoreContext}; requires {@link AtmosAsyncBlobStore} bound.
*
* @author Adrian Cole
*/
public class AtmosBlobStoreContextModule extends AbstractModule {

View File

@ -27,9 +27,6 @@ import org.jclouds.blobstore.domain.BlobMetadata;
import com.google.common.base.Function;
/**
* @author Adrian Cole
*/
@Singleton
public class BlobMetadataToObject implements Function<BlobMetadata, AtmosObject> {
private final AtmosObject.Factory factory;

View File

@ -24,9 +24,6 @@ import org.jclouds.blobstore.options.ListContainerOptions;
import com.google.common.base.Function;
/**
* @author Adrian Cole
*/
@Singleton
public class BlobStoreListOptionsToListOptions implements
Function<ListContainerOptions, org.jclouds.atmos.options.ListOptions> {

View File

@ -26,9 +26,6 @@ import org.jclouds.http.HttpUtils;
import com.google.common.base.Function;
/**
* @author Adrian Cole
*/
@Singleton
public class BlobToContentMetadata implements Function<BlobMetadata, MutableContentMetadata> {
public MutableContentMetadata apply(BlobMetadata base) {

View File

@ -26,9 +26,6 @@ import org.jclouds.blobstore.domain.Blob;
import com.google.common.base.Function;
/**
* @author Adrian Cole
*/
@Singleton
public class BlobToObject implements Function<Blob, AtmosObject> {
private final BlobMetadataToObject blobMd2Object;

View File

@ -24,9 +24,6 @@ import org.jclouds.blobstore.domain.BlobMetadata;
import com.google.common.base.Function;
/**
* @author Adrian Cole
*/
@Singleton
public class BlobToSystemMetadata implements Function<BlobMetadata, SystemMetadata> {
public SystemMetadata apply(BlobMetadata base) {

View File

@ -36,9 +36,6 @@ import com.google.common.base.Supplier;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Iterables;
/**
* @author Adrian Cole
*/
@Singleton
public class DirectoryEntryListToResourceMetadataList implements
Function<BoundedSet<? extends DirectoryEntry>, PageSet<? extends StorageMetadata>> {

View File

@ -28,9 +28,6 @@ import org.jclouds.http.HttpUtils;
import com.google.common.base.Function;
/**
* @author Adrian Cole
*/
@Singleton
public class ObjectToBlob implements Function<AtmosObject, Blob> {
private final Factory blobFactory;

View File

@ -38,9 +38,6 @@ import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Iterables;
import com.google.common.collect.Maps;
/**
* @author Adrian Cole
*/
@Singleton
public class ObjectToBlobMetadata implements Function<AtmosObject, MutableBlobMetadata> {
private final AtmosObjectName objectName;

View File

@ -25,8 +25,6 @@ import com.google.inject.Provides;
/**
* Configures the domain object mappings needed for all Atmos implementations
*
* @author Adrian Cole
*/
public class AtmosObjectModule extends AbstractModule {

View File

@ -21,11 +21,6 @@ import org.jclouds.json.config.GsonModule.Iso8601DateAdapter;
import com.google.inject.AbstractModule;
/**
*
*
* @author Adrian Cole
*/
public class AtmosParserModule extends AbstractModule {
@Override

View File

@ -44,8 +44,6 @@ import com.google.inject.Provides;
/**
* Configures the EMC Atmos Online Storage authentication service connection, including logging and
* http transport.
*
* @author Adrian Cole
*/
@ConfiguresRestClient
public class AtmosRestClientModule extends RestClientModule<AtmosClient, AtmosAsyncClient> {

View File

@ -20,9 +20,6 @@ package org.jclouds.atmos.domain;
* When an Atmos Storage request is in error, the client receives an error response.
*
* Provides access to EMC Atmos Online Storage resources via their REST API.
*
* @author Adrian Cole
*
*/
public class AtmosError {
private final int code;

View File

@ -23,10 +23,6 @@ import org.jclouds.javax.annotation.Nullable;
import com.google.common.collect.Multimap;
import com.google.inject.ImplementedBy;
/**
*
* @author Adrian Cole
*/
public interface AtmosObject extends PayloadEnclosing, Comparable<AtmosObject> {
@ImplementedBy(AtmosObjectFactory.class)
public interface Factory {

View File

@ -23,11 +23,6 @@ import org.jclouds.javax.annotation.Nullable;
import com.google.inject.ImplementedBy;
/**
*
* @author Adrian Cole
*
*/
@ImplementedBy(BoundedLinkedHashSet.class)
public interface BoundedSet<T> extends Set<T> {

View File

@ -18,8 +18,6 @@ package org.jclouds.atmos.domain;
/**
* Metadata of a Atmos Online object
*
* @author Adrian Cole
*/
public class DirectoryEntry implements Comparable<DirectoryEntry> {
private final String objectid;

View File

@ -24,8 +24,6 @@ import com.google.inject.ImplementedBy;
/**
* metadata of the object
*
* @author Adrian Cole
*/
@ImplementedBy(DelegatingMutableContentMetadata.class)
public interface MutableContentMetadata extends org.jclouds.io.MutableContentMetadata {

View File

@ -22,8 +22,6 @@ import org.jclouds.javax.annotation.Nullable;
/**
* Metadata of a Atmos Online object
*
* @author Adrian Cole
*/
public class SystemMetadata extends DirectoryEntry {

View File

@ -26,8 +26,6 @@ import com.google.common.collect.Sets;
/**
* User metadata
*
* @author Adrian Cole
*/
public class UserMetadata {
private final Map<String, String> metadata;

View File

@ -34,8 +34,6 @@ import com.google.common.collect.Multimap;
/**
* Default Implementation of {@link AtmosObject}.
*
* @author Adrian Cole
*/
public class AtmosObjectImpl extends PayloadEnclosingImpl implements AtmosObject, Comparable<AtmosObject> {
@Singleton

View File

@ -25,11 +25,6 @@ import org.jclouds.javax.annotation.Nullable;
import com.google.common.collect.Iterables;
/**
*
* @author Adrian Cole
*
*/
public class BoundedLinkedHashSet<T> extends LinkedHashSet<T> implements BoundedSet<T> {
protected final String token;

View File

@ -23,10 +23,6 @@ import org.jclouds.atmos.domain.MutableContentMetadata;
import org.jclouds.io.ContentMetadataBuilder;
import org.jclouds.io.payloads.BaseMutableContentMetadata;
/**
*
* @author Adrian Cole
*/
public class DelegatingMutableContentMetadata implements MutableContentMetadata {
private URI uri;
private String name;

View File

@ -31,10 +31,6 @@ import org.jclouds.rest.InvocationContext;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.util.concurrent.ListenableFuture;
/**
*
* @author Adrian Cole
*/
public class EndpointIfAlreadyExists implements Fallback<URI>, InvocationContext<EndpointIfAlreadyExists> {
private URI endpoint;

View File

@ -49,8 +49,6 @@ import com.google.common.io.ByteProcessor;
* Signs the EMC Atmos Online Storage request.
*
* @see <a href="https://community.emc.com/community/labs/atmos_online" />
* @author Adrian Cole
*
*/
@Singleton
public class ShareUrl implements Function<String, URI> {

View File

@ -57,8 +57,6 @@ import com.google.common.net.HttpHeaders;
* Signs the EMC Atmos Online Storage request.
*
* @see <a href="https://community.emc.com/community/labs/atmos_online" />
* @author Adrian Cole
*
*/
@Singleton
public class SignRequest implements HttpRequestFilter {

View File

@ -25,10 +25,6 @@ import org.jclouds.atmos.domain.AtmosObject;
import com.google.common.base.Function;
/**
*
* @author Adrian Cole
*/
@Singleton
public class AtmosObjectName implements Function<Object, String> {
@Override

View File

@ -35,8 +35,6 @@ import com.google.common.base.Function;
/**
* This parses {@link BoundedSet} from HTTP headers and xml content.
*
* @author Adrian Cole
*/
@Singleton
public class ParseDirectoryListFromContentAndHeaders implements Function<HttpResponse, BoundedSet<DirectoryEntry>> {

View File

@ -26,8 +26,6 @@ import org.jclouds.http.functions.ParseURIFromListOrLocationHeaderIf20x;
/**
* Parses a single URI from a list, returning null when blob length was zero.
* Atmos returns "HTTP/1.1 201 null" when putting zero-length blobs.
*
* @author Andrew Gaul
*/
public class ParseNullableURIFromListOrLocationHeaderIf20x extends ParseURIFromListOrLocationHeaderIf20x {

View File

@ -35,7 +35,6 @@ import com.google.common.base.Function;
* Parses response headers and creates a new AtmosObject from them and the HTTP content.
*
* @see ParseMetadataFromHeaders
* @author Adrian Cole
*/
public class ParseObjectFromHeadersAndHttpContent implements Function<HttpResponse, AtmosObject>,
InvocationContext<ParseObjectFromHeadersAndHttpContent> {

View File

@ -33,9 +33,6 @@ import org.jclouds.http.HttpResponse;
import com.google.common.base.Function;
import com.google.common.base.Splitter;
/**
* @author Adrian Cole
*/
@Singleton
public class ParseSystemMetadataFromHeaders implements Function<HttpResponse, SystemMetadata> {
private final DateService dateService;

View File

@ -34,9 +34,6 @@ import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Maps;
/**
* @author Adrian Cole
*/
@Singleton
public class ParseUserMetadataFromHeaders implements Function<HttpResponse, UserMetadata> {
private static final Set<String> SYS_KEYS = ImmutableSet.of(

View File

@ -24,9 +24,6 @@ import org.jclouds.http.HttpResponse;
import com.google.common.base.Function;
/**
* @author Adrian Cole
*/
@Singleton
public class ReturnTrueIfGroupACLIsOtherRead implements Function<HttpResponse, Boolean> {

View File

@ -36,7 +36,6 @@ import com.google.inject.Inject;
* Handles Retryable responses with error codes in the 4xx range
*
* @see Error codes section at <a href="https://www.synaptic.att.com/assets/us/en/home/Atmos_Programmers_Guide_1.3.4A.pdf" />
* @author Adrian Cole
*/
public class AtmosClientErrorRetryHandler implements HttpRetryHandler {
private final AtmosUtils utils;

View File

@ -36,7 +36,6 @@ import com.google.inject.Inject;
* Handles Retryable responses with error codes in the 5xx range
*
* @see Error codes section at <a href="https://www.synaptic.att.com/assets/us/en/home/Atmos_Programmers_Guide_1.3.4A.pdf" />
* @author Andrew Gaul
*/
public class AtmosServerErrorRetryHandler implements HttpRetryHandler {
private final AtmosUtils utils;

View File

@ -45,8 +45,6 @@ import org.jclouds.util.Strings2;
* This will parse and set an appropriate exception on the command object.
*
* @see AtmosError
* @author Adrian Cole
*
*/
@Singleton
public class ParseAtmosErrorFromXmlContent implements HttpErrorHandler {

View File

@ -23,8 +23,6 @@ import org.jclouds.http.options.BaseHttpRequestOptions;
/**
* Options used to control paginated results (aka list commands).
*
* @author Adrian Cole
*/
public class ListOptions extends BaseHttpRequestOptions {
public static final ListOptions NONE = new ListOptions();

View File

@ -33,9 +33,6 @@ import org.jclouds.http.options.BaseHttpRequestOptions;
* AtmosClient connection = // get connection
* connection.createDirectory("directory", publicRead());
* <code>
*
* @author Adrian Cole
*
*/
public class PutOptions extends BaseHttpRequestOptions {
public static final PutOptions NONE = new PutOptions();

View File

@ -20,8 +20,6 @@ package org.jclouds.atmos.reference;
* Query parameters common to Atmos apis.
*
* @see <a href="https://community.emc.com/community/labs/atmos_online" />
* @author Adrian Cole
*
*/
public interface AtmosHeaders {

View File

@ -45,8 +45,6 @@ import com.google.common.base.Predicate;
/**
* Encryption, Hashing, and IO Utilities needed to sign and verify Atmos Storage requests and
* responses.
*
* @author Adrian Cole
*/
public class AtmosUtils {

View File

@ -21,8 +21,6 @@ import org.jclouds.http.functions.ParseSax;
/**
* Parses the error from the Atmos Online Storage REST API.
*
* @author Adrian Cole
*/
public class ErrorHandler extends ParseSax.HandlerWithResult<AtmosError> {

View File

@ -29,7 +29,6 @@ import com.google.common.collect.Sets;
* <p/>
*
* @see <a href="https://community.emc.com/community/labs/atmos_online" />
* @author Adrian Cole
*/
public class ListDirectoryResponseHandler extends ParseSax.HandlerWithResult<Set<DirectoryEntry>> {

View File

@ -19,10 +19,6 @@ package org.jclouds.atmos;
import org.jclouds.blobstore.internal.BaseBlobStoreApiMetadataTest;
import org.testng.annotations.Test;
/**
*
* @author Adrian Cole
*/
@Test(groups = "unit", testName = "AtmosApiMetadataTest")
public class AtmosApiMetadataTest extends BaseBlobStoreApiMetadataTest {

View File

@ -58,8 +58,6 @@ import com.google.common.reflect.Invokable;
import com.google.inject.Module;
/**
* Tests behavior of {@code AtmosAsyncClient}
*
* @author Adrian Cole
*/
// NOTE:without testName, this will not call @Before* and fail w/NPE during surefire
@Test(groups = "unit", testName = "AtmosAsyncClientTest")

View File

@ -55,8 +55,6 @@ import com.google.common.hash.Hashing;
/**
* Tests behavior of {@code AtmosClient}
*
* @author Adrian Cole
*/
@Test(groups = "live", singleThreaded = true)
public class AtmosClientLiveTest extends BaseBlobStoreIntegrationTest {

View File

@ -31,8 +31,6 @@ import com.google.inject.Injector;
/**
* Tests behavior of {@code BindMetadataToHeaders}
*
* @author Adrian Cole
*/
@Test(groups = "unit")
public class BindMetadataToHeadersTest {

View File

@ -29,8 +29,6 @@ import com.google.inject.Injector;
/**
* Tests behavior of {@code BindUserMetadataToHeaders}
*
* @author Adrian Cole
*/
@Test(groups = "unit")
public class BindUserMetadataToHeadersTest {

View File

@ -41,8 +41,6 @@ import com.google.inject.Module;
/**
* Tests behavior of {@code AtmosBlobRequestSigner}
*
* @author Adrian Cole
*/
// NOTE:without testName, this will not call @Before* and fail w/NPE during surefire
@Test(groups = "unit", testName = "AtmosBlobRequestSignerTest")

View File

@ -22,9 +22,6 @@ import org.jclouds.blobstore.options.ListContainerOptions;
import com.google.common.base.Function;
/**
* @author Adrian Cole
*/
@Singleton
public class ListOptionsToBlobStoreListOptions implements
Function<org.jclouds.atmos.options.ListOptions[], ListContainerOptions> {

View File

@ -28,9 +28,6 @@ import org.jclouds.blobstore.domain.StorageType;
import com.google.common.base.Function;
import com.google.common.collect.Iterables;
/**
* @author Adrian Cole
*/
@Singleton
public class ResourceMetadataListToDirectoryEntryList
implements

View File

@ -19,10 +19,6 @@ package org.jclouds.atmos.blobstore.integration;
import org.jclouds.blobstore.integration.internal.BaseBlobSignerLiveTest;
import org.testng.annotations.Test;
/**
*
* @author Adrian Cole
*/
@Test(groups = { "live" })
public class AtmosBlobSignerLiveTest extends BaseBlobSignerLiveTest {
public AtmosBlobSignerLiveTest() {

View File

@ -24,9 +24,6 @@ import org.jclouds.blobstore.domain.BlobMetadata;
import org.jclouds.blobstore.integration.internal.BaseContainerIntegrationTest;
import org.testng.annotations.Test;
/**
* @author Adrian Cole
*/
@Test(groups = "live")
public class AtmosContainerIntegrationLiveTest extends BaseContainerIntegrationTest {
public AtmosContainerIntegrationLiveTest() {

View File

@ -19,9 +19,6 @@ package org.jclouds.atmos.blobstore.integration;
import org.jclouds.blobstore.integration.internal.BaseContainerLiveTest;
import org.testng.annotations.Test;
/**
* @author Adrian Cole
*/
@Test(groups = { "live" })
public class AtmosContainerLiveTest extends BaseContainerLiveTest {
public AtmosContainerLiveTest() {

View File

@ -28,10 +28,6 @@ import org.testng.SkipException;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
/**
*
* @author Adrian Cole
*/
@Test(groups = { "integration", "live" })
public class AtmosIntegrationLiveTest extends BaseBlobIntegrationTest {
public AtmosIntegrationLiveTest() {

View File

@ -21,10 +21,6 @@ import static org.testng.Assert.assertEquals;
import org.jclouds.blobstore.integration.internal.BaseBlobLiveTest;
import org.testng.annotations.Test;
/**
*
* @author Adrian Cole
*/
@Test(groups = { "live" })
public class AtmosLiveTest extends BaseBlobLiveTest {
public AtmosLiveTest() {

View File

@ -19,9 +19,6 @@ package org.jclouds.atmos.blobstore.integration;
import org.jclouds.blobstore.integration.internal.BaseServiceIntegrationTest;
import org.testng.annotations.Test;
/**
* @author Adrian Cole
*/
@Test(groups = "live")
public class AtmosServiceIntegrationLiveTest extends BaseServiceIntegrationTest {
public AtmosServiceIntegrationLiveTest() {

View File

@ -25,10 +25,6 @@ import java.net.URI;
import org.jclouds.blobstore.KeyAlreadyExistsException;
import org.testng.annotations.Test;
/**
*
* @author Adrian Cole
*/
@Test(groups = "unit")
public class EndpointIfAlreadyExistsTest {

View File

@ -45,10 +45,6 @@ import com.google.common.net.HttpHeaders;
import com.google.inject.Injector;
import com.google.inject.Module;
/**
*
* @author Adrian Cole
*/
@Test(groups = "unit")
public class SignRequestTest {

View File

@ -28,10 +28,6 @@ import org.testng.annotations.Test;
import com.google.inject.Guice;
/**
*
* @author Adrian Cole
*/
@Test(groups = "unit")
public class AtmosObjectNameTest {
AtmosObjectName fn = new AtmosObjectName();

View File

@ -36,8 +36,6 @@ import com.google.common.collect.ImmutableSet.Builder;
/**
* Tests behavior of {@code ParseDirectoryListFromContentAndHeaders}
*
* @author Adrian Cole
*/
//NOTE:without testName, this will not call @Before* and fail w/NPE during surefire
@Test(groups = "unit", testName = "ParseDirectoryListFromContentAndHeadersTest")

View File

@ -28,8 +28,6 @@ import com.google.inject.Guice;
/**
* Tests behavior of {@code ParseObjectFromHeadersAndHttpContent}
*
* @author Adrian Cole
*/
@Test(groups = "unit", testName = "ParseObjectFromHeadersAndHttpContentTest")
public class ParseObjectFromHeadersAndHttpContentTest {

View File

@ -29,8 +29,6 @@ import com.google.inject.Guice;
/**
* Tests behavior of {@code ParseSystemMetadataFromHeaders}
*
* @author Adrian Cole
*/
@Test(groups = "unit")
public class ParseSystemMetadataFromHeadersTest {

View File

@ -27,8 +27,6 @@ import com.google.inject.Guice;
/**
* Tests behavior of {@code ParseUserMetadataFromHeaders}
*
* @author Adrian Cole
*/
@Test(groups = "unit")
public class ParseUserMetadataFromHeadersTest {

View File

@ -32,8 +32,6 @@ import org.testng.annotations.Test;
/**
* Tests behavior of {@code AtmosServerErrorRetryHandler}
*
* @author Andrew Gaul
*/
@Test(groups = "unit")
public class AtmosServerErrorRetryHandlerTest {

View File

@ -56,8 +56,6 @@ import com.google.common.util.concurrent.ListeningExecutorService;
/**
* Implementation of {@link AtmosAsyncClient} which keeps all data in a local Map object.
*
* @author Adrian Cole
*/
public class StubAtmosAsyncClient implements AtmosAsyncClient {
private final HttpGetOptionsListToGetOptions httpGetOptionsConverter;

View File

@ -24,8 +24,6 @@ import com.google.common.collect.ImmutableList;
/**
* Tests behavior of {@code ListOptions}
*
* @author Adrian Cole
*/
@Test(groups = "unit")
public class ListOptionsTest {

View File

@ -27,8 +27,6 @@ import org.testng.annotations.Test;
/**
* Tests behavior of {@code ErrorHandler}
*
* @author Adrian Cole
*/
// NOTE:without testName, this will not call @Before* and fail w/NPE during surefire
@Test(groups = "unit", testName = "ErrorHandlerTest")

View File

@ -31,8 +31,6 @@ import com.google.common.collect.Sets;
/**
* Tests behavior of {@code ListDirectoryResponseHandler}
*
* @author Adrian Cole
*/
//NOTE:without testName, this will not call @Before* and fail w/NPE during surefire
@Test(groups = "unit", testName = "ListDirectoryResponseHandlerTest")

View File

@ -34,8 +34,6 @@ import com.google.inject.Module;
*
* This class is not setup to allow a subclasses to override the type of api,
* asyncapi, or context. This is an optimization for s.
*
* @author Adrian Cole
*/
public class BYONApiMetadata extends BaseApiMetadata {

View File

@ -26,10 +26,6 @@ import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
/**
*
* @author Adrian Cole
*/
public class Node {
public static Builder builder() {
return new Builder();

View File

@ -33,10 +33,6 @@ import com.google.common.base.Function;
import com.google.common.io.ByteSource;
import com.google.inject.TypeLiteral;
/**
*
* @author Adrian Cole
*/
@SingleThreaded
public class BYONComputeServiceContextModule extends JCloudsNativeComputeServiceAdapterContextModule {

View File

@ -32,10 +32,6 @@ import com.google.common.cache.LoadingCache;
import com.google.inject.AbstractModule;
import com.google.inject.TypeLiteral;
/**
*
* @author Adrian Cole
*/
@ConfiguresNodeStore
@Beta
public class CacheNodeStoreModule extends AbstractModule {

View File

@ -26,9 +26,6 @@ import com.google.common.annotations.Beta;
/**
* designates the module configures a {@code LoadingCache<String, Node>}
*
* @author Adrian Cole
*
*/
@Beta
@Retention(RUNTIME)

View File

@ -41,10 +41,6 @@ import com.google.inject.Provides;
import com.google.inject.TypeLiteral;
import com.google.inject.name.Names;
/**
*
* @author Adrian Cole
*/
@ConfiguresNodeStore
@Beta
public class YamlNodeStoreModule extends AbstractModule {

View File

@ -65,9 +65,6 @@ import com.google.common.io.ByteSource;
* credential_url: password_or_rsa_file ex. resource:///id_rsa will get the classpath /id_rsa; file://path/to/id_rsa
* sudo_password: password
* </pre>
*
* @author Kelvin Kakugawa
* @author Adrian Cole
*/
public class YamlNode {
public String id;

View File

@ -51,9 +51,6 @@ import com.google.common.base.Supplier;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Iterables;
/**
* @author Adrian Cole
*/
@Singleton
public class NodeToNodeMetadata implements Function<Node, NodeMetadata> {
@Resource

View File

@ -66,9 +66,6 @@ import com.google.common.io.Closeables;
* credential_url: password_or_rsa_file ex. resource:///id_rsa will get the classpath /id_rsa; file://path/to/id_rsa
* sudo_password: password
* </pre>
*
* @author Kelvin Kakugawa
* @author Adrian Cole
*/
@Singleton
public class NodesFromYamlStream implements Function<ByteSource, LoadingCache<String, Node>> {

View File

@ -47,10 +47,6 @@ import com.google.common.cache.LoadingCache;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.ImmutableSet.Builder;
import com.google.common.util.concurrent.UncheckedExecutionException;
/**
*
* @author Adrian Cole
*/
@Singleton
public class BYONComputeServiceAdapter implements JCloudsNativeComputeServiceAdapter {
private final Supplier<LoadingCache<String, Node>> nodes;

View File

@ -32,10 +32,6 @@ import com.google.common.base.Supplier;
import com.google.common.cache.LoadingCache;
import com.google.common.io.ByteSource;
/**
*
* @author Adrian Cole
*/
@Singleton
public class NodesParsedFromSupplier implements Supplier<LoadingCache<String, Node>> {
@Resource

View File

@ -37,9 +37,6 @@ import com.google.common.io.ByteSource;
import com.google.inject.Inject;
import com.google.inject.name.Named;
/**
* @author Adrian Cole
*/
public class SupplyFromProviderURIOrNodesProperty extends ByteSource implements Function<URI, InputStream> {
@Resource
protected Logger logger = Logger.NULL;

View File

@ -19,10 +19,6 @@ package org.jclouds.byon;
import org.jclouds.compute.internal.BaseComputeServiceApiMetadataTest;
import org.testng.annotations.Test;
/**
*
* @author Adrian Cole
*/
@Test(groups = "unit", testName = "BYONApiMetadataTest")
public class BYONApiMetadataTest extends BaseComputeServiceApiMetadataTest {

View File

@ -40,10 +40,6 @@ import com.google.common.base.Predicates;
import com.google.common.collect.ImmutableSet;
import com.google.inject.Module;
/**
*
* @author Adrian Cole
*/
@Test(groups = "live")
public class BYONComputeServiceLiveTest {

View File

@ -40,10 +40,6 @@ import com.google.inject.Key;
import com.google.inject.Module;
import com.google.inject.TypeLiteral;
/**
*
* @author Adrian Cole
*/
@Test(singleThreaded = true, testName = "BYONComputeServiceTest")
public class BYONComputeServiceTest {

View File

@ -41,10 +41,6 @@ import com.google.inject.Key;
import com.google.inject.TypeLiteral;
import com.google.inject.util.Providers;
/**
*
* @author Adrian Cole
*/
@Test(groups = "unit", singleThreaded = true, testName = "CacheNodeStoreModuleTest")
public class CacheNodeStoreModuleTest {

View File

@ -41,10 +41,6 @@ import com.google.inject.TypeLiteral;
import com.google.inject.name.Names;
import com.google.inject.util.Providers;
/**
*
* @author Adrian Cole
*/
@Test(groups = "unit", singleThreaded = true)
public class YamlNodeStoreModuleTest {
Yaml yaml = createInjector().getInstance(Yaml.class);

View File

@ -40,10 +40,6 @@ import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Maps;
/**
*
* @author Adrian Cole
*/
@Test(singleThreaded = true, testName = "NodeToNodeMetadataTest")
public class NodeToNodeMetadataTest {
public static Location expectedProviderLocationFromResource(String resource) {

View File

@ -26,10 +26,6 @@ import com.google.common.collect.ImmutableMap;
import com.google.common.io.ByteSource;
import com.google.common.io.Resources;
/**
*
* @author Adrian Cole
*/
public class NodesFromYamlTest {
public static final String key = new StringBuilder().append("-----BEGIN RSA PRIVATE KEY-----\n")
.append("MIIEowIBAAKCAQEAuzaE6azgUxwESX1rCGdJ5xpdrc1XC311bOGZBCE8NA+CpFh2\n")

View File

@ -22,10 +22,6 @@ import org.testng.annotations.Test;
import com.google.common.base.Charsets;
import com.google.common.io.ByteSource;
/**
*
* @author Adrian Cole
*/
public class NodesParsedFromSupplierTest {
@Test(expectedExceptions = IllegalStateException.class)

View File

@ -25,10 +25,6 @@ import com.google.common.base.Charsets;
import org.jclouds.util.Strings2;
import org.testng.annotations.Test;
/**
*
* @author Adrian Cole
*/
public class SupplyFromProviderURIOrNodesPropertyTest {
@Test

View File

@ -27,8 +27,6 @@ import javax.inject.Qualifier;
* Represents a component related to Rackspace Cloud Files Content delivery network.
*
* @see <a href="http://www.rackspacecloud.com/cf-devguide-20090311.pdf" />
* @author Adrian Cole
*
*/
@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = { ElementType.TYPE, ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD })

View File

@ -34,8 +34,6 @@ import com.google.inject.TypeLiteral;
/**
* Implementation of {@link ApiMetadata} for Rackspace Cloud Files API
*
* @author Adrian Cole
*/
public class CloudFilesApiMetadata extends SwiftApiMetadata {

View File

@ -60,7 +60,6 @@ import com.google.common.util.concurrent.ListenableFuture;
*
* @see CloudFilesClient
* @see <a href="http://www.rackspacecloud.com/cf-devguide-20090812.pdf" />
* @author Adrian Cole
* @deprecated please use {@code org.jclouds.ContextBuilder#buildApi(CloudFilesClient.class)} as
* {@link CloudFilesAsyncClient} interface will be removed in jclouds 1.7.
*/

Some files were not shown because too many files have changed in this diff Show More