Skip to content

Commit ff141bf

Browse files
committed
see 04/28 log
1 parent d7ba18e commit ff141bf

File tree

5 files changed

+281
-294
lines changed

5 files changed

+281
-294
lines changed

README-CN.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Android开发人员不得不收集的代码([持续更新中][update_log.md])
22

3-
[![auc][aucsvg]][auc] [![build][buildsvg]][build] [![api][apisvg]][api] [![License][licensesvg]][license]
3+
[![auc][aucsvg]][auc] [![api][apisvg]][api] [![License][licensesvg]][license]
44

55
## [README of English][readme.md]
66

@@ -640,9 +640,6 @@ Utils.init(context);
640640
[aucsvg]: https://img.shields.io/badge/AndroidUtilCode-v1.4.1-blue.svg
641641
[auc]: https://github.com/Blankj/AndroidUtilCode
642642

643-
[buildsvg]: https://travis-ci.org/Blankj/AndroidUtilCode.svg?branch=master
644-
[build]: https://travis-ci.org/Blankj/AndroidUtilCode
645-
646643
[apisvg]: https://img.shields.io/badge/API-15+-blue.svg
647644
[api]: https://android-arsenal.com/api?level=15
648645

app/proguard-rules.pro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@
1414
# class:
1515
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
1616
# public *;
17-
#}
17+
#}
18+

utilcode/src/main/java/com/blankj/utilcode/util/FileUtils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ public static String getFileSize(File file) {
10871087
* 获取目录长度
10881088
*
10891089
* @param dirPath 目录路径
1090-
* @return 文件大小
1090+
* @return 目录长度
10911091
*/
10921092
public static long getDirLength(String dirPath) {
10931093
return getDirLength(getFileByPath(dirPath));
@@ -1097,7 +1097,7 @@ public static long getDirLength(String dirPath) {
10971097
* 获取目录长度
10981098
*
10991099
* @param dir 目录
1100-
* @return 文件大小
1100+
* @return 目录长度
11011101
*/
11021102
public static long getDirLength(File dir) {
11031103
if (!isDir(dir)) return -1;
@@ -1119,7 +1119,7 @@ public static long getDirLength(File dir) {
11191119
* 获取文件长度
11201120
*
11211121
* @param filePath 文件路径
1122-
* @return 文件大小
1122+
* @return 文件长度
11231123
*/
11241124
public static long getFileLength(String filePath) {
11251125
return getFileLength(getFileByPath(filePath));
@@ -1129,7 +1129,7 @@ public static long getFileLength(String filePath) {
11291129
* 获取文件长度
11301130
*
11311131
* @param file 文件
1132-
* @return 文件大小
1132+
* @return 文件长度
11331133
*/
11341134
public static long getFileLength(File file) {
11351135
if (!isFile(file)) return -1;

0 commit comments

Comments
 (0)