mirror of https://github.com/apache/jclouds.git
Remove scoping annotations on abstract types
These annotations are not meaningful. Found via error-prone.
This commit is contained in:
parent
d6454b822f
commit
1d192dfe56
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue