Răsfoiți Sursa

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>
Andy Scherzinger 4 ani în urmă
părinte
comite
4999916f27

+ 2 - 2
app/src/main/java/com/nextcloud/talk/utils/AuthenticatorService.java

@@ -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);