Skip to content

Commit 7fd3494

Browse files
author
371718330@qq.com
committed
修改工具类
1 parent 3b70008 commit 7fd3494

File tree

1 file changed

+3
-3
lines changed
  • CommonUtil/src/main/java/com/jingewenku/abrahamcaijin/commonutil/application

1 file changed

+3
-3
lines changed

CommonUtil/src/main/java/com/jingewenku/abrahamcaijin/commonutil/application/Utils.java renamed to CommonUtil/src/main/java/com/jingewenku/abrahamcaijin/commonutil/application/AppUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
* @version: 1.0.0
1515
*/
1616

17-
public class Utils {
17+
public class AppUtils {
1818
@SuppressLint("StaticFieldLeak")
1919
private static Context context;
2020

21-
private Utils() {
21+
private AppUtils() {
2222
throw new UnsupportedOperationException("u can't instantiate me...");
2323
}
2424

@@ -28,7 +28,7 @@ private Utils() {
2828
* @param context 上下文
2929
*/
3030
public static void init(Context context) {
31-
Utils.context = context.getApplicationContext();
31+
AppUtils.context = context.getApplicationContext();
3232
}
3333

3434
/**

0 commit comments

Comments
 (0)