Przeglądaj źródła

codacy: Method names should not start with capital letters

AndyScherzinger 7 lat temu
rodzic
commit
ab65fe3ecc

+ 1 - 1
app/src/GPlay/java/com/nextcloud/talk/utils/ClosedInterfaceImpl.java

@@ -30,7 +30,7 @@ import com.nextcloud.talk.interfaces.ClosedInterface;
 
 
 public class ClosedInterfaceImpl implements ClosedInterface, ProviderInstallListener {
 public class ClosedInterfaceImpl implements ClosedInterface, ProviderInstallListener {
     @Override
     @Override
-    public void ProviderInstallerInstallIfNeededAsync() {
+    public void providerInstallerInstallIfNeededAsync() {
         ProviderInstaller.installIfNeededAsync(NextcloudTalkApplication.getSharedApplication().getApplicationContext(),
         ProviderInstaller.installIfNeededAsync(NextcloudTalkApplication.getSharedApplication().getApplicationContext(),
                 this);
                 this);
     }
     }

+ 1 - 1
app/src/main/java/com/nextcloud/talk/application/NextcloudTalkApplication.java

@@ -131,7 +131,7 @@ public class NextcloudTalkApplication extends MultiDexApplication {
         componentApplication.inject(this);
         componentApplication.inject(this);
         refWatcher = LeakCanary.install(this);
         refWatcher = LeakCanary.install(this);
 
 
-        new ClosedInterfaceImpl().ProviderInstallerInstallIfNeededAsync();
+        new ClosedInterfaceImpl().providerInstallerInstallIfNeededAsync();
         DeviceUtils.ignoreSpecialBatteryFeatures();
         DeviceUtils.ignoreSpecialBatteryFeatures();
 
 
         new JobRequest.Builder(PushRegistrationJob.TAG).setUpdateCurrent(true).startNow().build().schedule();
         new JobRequest.Builder(PushRegistrationJob.TAG).setUpdateCurrent(true).startNow().build().schedule();

+ 1 - 1
app/src/main/java/com/nextcloud/talk/interfaces/ClosedInterface.java

@@ -21,5 +21,5 @@
 package com.nextcloud.talk.interfaces;
 package com.nextcloud.talk.interfaces;
 
 
 public interface ClosedInterface {
 public interface ClosedInterface {
-    void ProviderInstallerInstallIfNeededAsync();
+    void providerInstallerInstallIfNeededAsync();
 }
 }