File tree 3 files changed +7
-11
lines changed
utilcode/src/test/java/com/blankj/utilcode/util
3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 1
- # Android开发人员不得不收集的代码([ 持续更新中] [ update_log.md ] )
1
+ # : fire : Android开发人员不得不收集的代码([ 持续更新中] [ update_log.md ] )
2
2
3
3
[ ![ auc] [ aucsvg ]] [ auc ] [ ![ api] [ apisvg ]] [ api ] [ ![ build] [ buildsvg ]] [ build ] [ ![ License] [ licensesvg ]] [ license ]
4
4
@@ -650,7 +650,7 @@ Utils.init(context);
650
650
[ build ] : https://travis-ci.org/Blankj/AndroidUtilCode
651
651
652
652
[ licensesvg ] : https://img.shields.io/badge/License-Apache--2.0-brightgreen.svg
653
- [ license ] : https://opensource.org/licenses/apache2.0.php
653
+ [ license ] : https://github.com/Blankj/AndroidUtilCode/blob/master/LICENSE
654
654
655
655
[ jianshusvg ] : https://img.shields.io/badge/简书-Blankj-brightgreen.svg
656
656
[ jianshu ] : http://www.jianshu.com/u/46702d5c6978
Original file line number Diff line number Diff line change 1
- # Android developers should collect the following utils
1
+ # : fire : Android developers should collect the following utils
2
2
3
3
[ ![ auc] [ aucsvg ]] [ auc ] [ ![ api] [ apisvg ]] [ api ] [ ![ build] [ buildsvg ]] [ build ] [ ![ License] [ licensesvg ]] [ license ]
4
4
@@ -650,7 +650,7 @@ Utils.init(context);
650
650
[ build ] : https://travis-ci.org/Blankj/AndroidUtilCode
651
651
652
652
[ licensesvg ] : https://img.shields.io/badge/License-Apache--2.0-brightgreen.svg
653
- [ license ] : https://opensource.org/licenses/apache2.0.php
653
+ [ license ] : https://github.com/Blankj/AndroidUtilCode/blob/master/LICENSE
654
654
655
655
[ jianshusvg ] : https://img.shields.io/badge/简书-Blankj-brightgreen.svg
656
656
[ jianshu ] : http://www.jianshu.com/u/46702d5c6978
Original file line number Diff line number Diff line change 7
7
import org .robolectric .annotation .Config ;
8
8
9
9
import java .io .File ;
10
- import java .text .SimpleDateFormat ;
11
- import java .util .Date ;
12
10
import java .util .List ;
13
- import java .util .Locale ;
14
11
15
12
/**
16
13
* <pre>
@@ -42,13 +39,13 @@ public static void init() {
42
39
Utils .init (RuntimeEnvironment .application );
43
40
}
44
41
45
- // @Test
42
+ // @Test
46
43
public void readme2Eng () throws Exception {
47
44
formatCN ();
48
45
File readmeCN = new File (new File (System .getProperty ("user.dir" )).getAbsolutePath () + FILE_SEP + "README-CN.md" );
49
46
File readmeEng = new File (new File (System .getProperty ("user.dir" )).getAbsolutePath () + FILE_SEP + "README.md" );
50
47
List <String > list = FileUtils .readFile2List (readmeCN , "UTF-8" );
51
- StringBuilder sb = new StringBuilder ("# Android developers should collect the following utils" + LINE_SEP + LINE_SEP +
48
+ StringBuilder sb = new StringBuilder ("# :fire: Android developers should collect the following utils" + LINE_SEP + LINE_SEP +
52
49
"[![auc][aucsvg]][auc] [![api][apisvg]][api] [![build][buildsvg]][build] [![License][licensesvg]][license]" + LINE_SEP + LINE_SEP +
53
50
"## [README of Chinese][readme-cn.md]" + LINE_SEP + LINE_SEP +
54
51
"## API" + LINE_SEP + LINE_SEP );
@@ -119,7 +116,6 @@ public void formatCN() throws Exception {
119
116
120
117
@ Test
121
118
public void test () throws Exception {
122
- System .out .println (new SimpleDateFormat ("E" , Locale .CHINA ).format (new Date ()));
123
- System .out .println (System .getProperty ("user.dir" ));
119
+
124
120
}
125
121
}
You can’t perform that action at this time.
0 commit comments