浏览代码

authentication: Added empty private constructor to AccountUtils.

The private constructor hides the implicit public one
ardevd 7 年之前
父节点
当前提交
27999b5b2c
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/main/java/com/owncloud/android/authentication/AccountUtils.java

+ 4 - 0
src/main/java/com/owncloud/android/authentication/AccountUtils.java

@@ -47,6 +47,10 @@ public class AccountUtils {
     public static final int ACCOUNT_VERSION_WITH_PROPER_ID = 2;
     public static final String ACCOUNT_USES_STANDARD_PASSWORD = "ACCOUNT_USES_STANDARD_PASSWORD";
 
+    private AccountUtils() {
+        // Required empty constructor
+    }
+
     /**
      * Can be used to get the currently selected ownCloud {@link Account} in the
      * application preferences.