We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b70008 commit 7fd3494Copy full SHA for 7fd3494
CommonUtil/src/main/java/com/jingewenku/abrahamcaijin/commonutil/application/Utils.java renamed to CommonUtil/src/main/java/com/jingewenku/abrahamcaijin/commonutil/application/AppUtils.java
@@ -14,11 +14,11 @@
14
* @version: 1.0.0
15
*/
16
17
-public class Utils {
+public class AppUtils {
18
@SuppressLint("StaticFieldLeak")
19
private static Context context;
20
21
- private Utils() {
+ private AppUtils() {
22
throw new UnsupportedOperationException("u can't instantiate me...");
23
}
24
@@ -28,7 +28,7 @@ private Utils() {
28
* @param context 上下文
29
30
public static void init(Context context) {
31
- Utils.context = context.getApplicationContext();
+ AppUtils.context = context.getApplicationContext();
32
33
34
/**
0 commit comments