mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-23 09:56:00 +03:00
Code quality: import static
This commit is contained in:
parent
d08778c674
commit
e80473903e
2 changed files with 9 additions and 8 deletions
|
@ -18,12 +18,13 @@ package im.vector.matrix.android.internal.di;
|
|||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
import javax.inject.Scope;
|
||||
|
||||
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||
|
||||
// TODO convert the 3 scope to Java?
|
||||
@Scope
|
||||
@Documented
|
||||
@Retention(RUNTIME)
|
||||
public @interface MatrixScope {}
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface MatrixScope {
|
||||
}
|
|
@ -18,12 +18,12 @@ package im.vector.matrix.android.internal.session;
|
|||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
import javax.inject.Scope;
|
||||
|
||||
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||
|
||||
@Scope
|
||||
@Documented
|
||||
@Retention(RUNTIME)
|
||||
public @interface SessionScope {}
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface SessionScope {
|
||||
}
|
Loading…
Reference in a new issue