Remove unused qualifier and scope.

This commit is contained in:
Fernando Cejas
2015-03-15 04:21:46 +01:00
parent 175137a222
commit cf29c79182
2 changed files with 0 additions and 38 deletions

View File

@@ -1,21 +0,0 @@
/**
* Copyright (C) 2015 android10.org. All rights reserved.
* @author Fernando Cejas (the android10 coder)
*/
package com.fernandocejas.android10.sample.presentation.internal.di.components;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import javax.inject.Qualifier;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Defines a qualifier for Application. A clear example is when there is a context to be injected, so
* it is require to be annotated with ForApplication to explicitly differentiate it from an
* activity context.
*/
@Qualifier
@Documented
@Retention(RUNTIME)
public @interface ForApplication {}

View File

@@ -1,17 +0,0 @@
/**
* Copyright (C) 2015 android10.org. All rights reserved.
* @author Fernando Cejas (the android10 coder)
*/
package com.fernandocejas.android10.sample.presentation.internal.di.components;
import java.lang.annotation.Retention;
import javax.inject.Scope;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* A scoping annotation to permit objects whose lifetime should conform to the life of
* the activity to be memorized in the correct component.
*/
@Scope @Retention(RUNTIME)
public @interface PerActivity {}