HarmonyOSBaseLibs/src/main/ets/utils
徐勤民 aed773bec1 refactor(utils): 为工具类添加私有构造函数
- 在多个工具类中添加私有构造函数,防止实例化
-这种设计模式确保了工具类的静态方法和属性的正确使用
- 受影响的主要类包括:
  - AlgorithmHelper
  - AppStorageHelper
  - LogHelper
  - PreferencesHelper
  - SZYXLocalStorageHelper
  - SZYXLocalStorageKeys
  - TimeHelper
  - ToolsHelper  - ToolsHelperForTS - ValidatorHelper
  - WindowHelper
  - XWebHelper
2024-10-31 12:30:41 +08:00
..
AlgorithmHelper.ets refactor(utils): 为工具类添加私有构造函数 2024-10-31 12:28:44 +08:00
AppStorageHelper.ets refactor(utils): 为工具类添加私有构造函数 2024-10-31 12:28:44 +08:00
Base64Helper.ets feat(app): 添加应用崩溃恢复功能并优化网络请求 2024-10-31 12:23:46 +08:00
CharHelper.ets feat(app): 添加应用崩溃恢复功能并优化网络请求 2024-10-31 12:23:46 +08:00
CrashHelper.ets feat(app): 添加应用崩溃恢复功能并优化网络请求 2024-10-31 12:23:46 +08:00
FileHelper.ets feat(app): 添加应用崩溃恢复功能并优化网络请求 2024-10-31 12:23:46 +08:00
LogHelper.ets refactor(utils): 为工具类添加私有构造函数 2024-10-31 12:28:44 +08:00
PickerHelper.ets feat(app): 添加应用崩溃恢复功能并优化网络请求 2024-10-31 12:23:46 +08:00
PreferencesHelper.ets refactor(utils): 为工具类添加私有构造函数 2024-10-31 12:28:44 +08:00
StrHelper.ets feat(app): 添加应用崩溃恢复功能并优化网络请求 2024-10-31 12:23:46 +08:00
SZYXLocalStorageHelper.ts refactor(utils): 为工具类添加私有构造函数 2024-10-31 12:28:44 +08:00
SZYXLocalStorageKeys.ts refactor(utils): 为工具类添加私有构造函数 2024-10-31 12:28:44 +08:00
TimeHelper.ts refactor(utils): 为工具类添加私有构造函数 2024-10-31 12:28:44 +08:00
ToolsHelper.ets refactor(utils): 为工具类添加私有构造函数 2024-10-31 12:28:44 +08:00
ToolsHelperForTS.ts refactor(utils): 为工具类添加私有构造函数 2024-10-31 12:28:44 +08:00
ValidatorHelper.ets refactor(utils): 为工具类添加私有构造函数 2024-10-31 12:28:44 +08:00
WindowHelper.ets refactor(utils): 为工具类添加私有构造函数 2024-10-31 12:28:44 +08:00
XWebHelper.ets refactor(utils): 为工具类添加私有构造函数 2024-10-31 12:30:41 +08:00