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:
Andy Scherzinger 2021-05-17 13:38:05 +02:00
parent 0bc3be1b6e
commit 4999916f27
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

View File

@ -34,6 +34,8 @@ import android.os.IBinder;
public class AuthenticatorService extends Service {
private static Authenticator authenticator = null;
private static class Authenticator extends AbstractAccountAuthenticator {
public Authenticator(Context context) {
super(context);
@ -83,8 +85,6 @@ public class AuthenticatorService extends Service {
}
private static Authenticator authenticator = null;
protected Authenticator getAuthenticator() {
if (authenticator == null) {
authenticator = new Authenticator(this);