mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
codacy: Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
0bc3be1b6e
commit
4999916f27
@ -34,6 +34,8 @@ import android.os.IBinder;
|
|||||||
|
|
||||||
public class AuthenticatorService extends Service {
|
public class AuthenticatorService extends Service {
|
||||||
|
|
||||||
|
private static Authenticator authenticator = null;
|
||||||
|
|
||||||
private static class Authenticator extends AbstractAccountAuthenticator {
|
private static class Authenticator extends AbstractAccountAuthenticator {
|
||||||
public Authenticator(Context context) {
|
public Authenticator(Context context) {
|
||||||
super(context);
|
super(context);
|
||||||
@ -83,8 +85,6 @@ public class AuthenticatorService extends Service {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Authenticator authenticator = null;
|
|
||||||
|
|
||||||
protected Authenticator getAuthenticator() {
|
protected Authenticator getAuthenticator() {
|
||||||
if (authenticator == null) {
|
if (authenticator == null) {
|
||||||
authenticator = new Authenticator(this);
|
authenticator = new Authenticator(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user