Remove scoping annotations on abstract types

These annotations are not meaningful.  Found via error-prone.
This commit is contained in:
Andrew Gaul 2016-06-20 10:49:52 -07:00
parent d6454b822f
commit 1d192dfe56
3 changed files with 0 additions and 8 deletions

View File

@ -23,7 +23,6 @@ import java.util.Set;
import java.util.concurrent.atomic.AtomicReference;
import javax.annotation.Resource;
import javax.inject.Singleton;
import org.jclouds.compute.domain.ComputeMetadataIncludingStatus;
import org.jclouds.logging.Logger;
@ -37,7 +36,6 @@ import com.google.common.collect.ImmutableSet;
* resource, so as to eliminate a redundant {@link ComputeService#getNodeMetadata} call after the
* predicate passes.
*/
@Singleton
public abstract class RefreshAndDoubleCheckOnFailUnlessStatusInvalid<S extends Enum<S>, C extends ComputeMetadataIncludingStatus<S>> implements Predicate<AtomicReference<C>> {
private final S intended;

View File

@ -21,8 +21,6 @@ import static com.google.common.base.Preconditions.checkNotNull;
import java.io.Closeable;
import javax.inject.Singleton;
import org.jclouds.Context;
import org.jclouds.View;
import org.jclouds.location.Provider;
@ -34,7 +32,6 @@ import com.google.common.collect.ForwardingObject;
import com.google.common.reflect.TypeParameter;
import com.google.common.reflect.TypeToken;
@Singleton
public abstract class BaseView extends ForwardingObject implements View {
private final Context backend;

View File

@ -20,8 +20,6 @@ import java.io.IOException;
import java.io.Writer;
import java.lang.reflect.Field;
import javax.inject.Singleton;
import com.google.common.base.Throwables;
import com.google.gson.TypeAdapter;
import com.google.gson.internal.bind.TypeAdapters;
@ -33,7 +31,6 @@ import com.google.gson.stream.JsonWriter;
*
* @see <a href="http://code.google.com/p/google-gson/issues/detail?id=326" />
*/
@Singleton
public abstract class NullHackJsonLiteralAdapter<L> extends TypeAdapter<L> {
@Override