mirror of
https://github.com/android10/Android-CleanArchitecture.git
synced 2026-03-13 10:13:41 +08:00
Remove unused qualifier and scope.
This commit is contained in:
@@ -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 {}
|
||||
@@ -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 {}
|
||||
Reference in New Issue
Block a user