File tree 3 files changed +4
-5
lines changed
src/main/java/org/teasoft/beex
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public void begin() {
48
48
49
49
@ Override
50
50
public void commit () {
51
- Logger .info ("[Bee] SQLiteTransaction(android) commit. " );
51
+ Logger .info ("[Bee] SQLiteTransaction(android) commit." );
52
52
if (!isBegin ) throw new BeeSQLException ("The SQLiteTransaction did not to begin!" );
53
53
try {
54
54
db .setTransactionSuccessful ();
Original file line number Diff line number Diff line change @@ -43,8 +43,7 @@ public class DdlViaExcel {
43
43
44
44
private static final String CREATE_TABLE = "CREATE TABLE " ;
45
45
private static String LINE_SEPARATOR = System .getProperty ("line.separator" ); // 换行符
46
- // private static PreparedSql preparedSql = BeeFactoryHelper.getPreparedSql();
47
-
46
+
48
47
/**
49
48
* create table via sheet of excel.
50
49
* @param excelFullPath excel FullPath
Original file line number Diff line number Diff line change 17
17
18
18
package org .teasoft .beex .cache .redis ;
19
19
20
- import java .util .Random ;
20
+ import java .util .concurrent . ThreadLocalRandom ;
21
21
22
22
import org .apache .commons .pool2 .impl .GenericObjectPoolConfig ;
23
23
import org .teasoft .bee .osql .Serializer ;
@@ -47,7 +47,7 @@ public class BeeExtRedisCache extends DefaultBeeExtCache {
47
47
private static final String FIELD = "Bee" ;
48
48
private static final byte [] FIELD_BYTES = FIELD .getBytes ();
49
49
50
- private final Random random =new Random ();
50
+ private final ThreadLocalRandom random =ThreadLocalRandom . current ();
51
51
private int max =0 ;
52
52
private int min =0 ;
53
53
private int baseNum =0 ;
You can’t perform that action at this time.
0 commit comments