File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/main/java/io/bloco/faker/helpers Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ The goal was to reuse their locale data files.
17
17
}
18
18
19
19
dependencies {
20
- compile 'com.github.blocoio:faker:1.2.7 '
20
+ compile 'com.github.blocoio:faker:1.2.8 '
21
21
}
22
22
23
23
You can use ``` testCompile ``` or ``` androidTestCompile ``` , if you only want to use Faker for testing.
Original file line number Diff line number Diff line change 1
1
apply plugin : ' java'
2
2
apply plugin : ' maven'
3
3
4
- version = ' 1.2.7 '
4
+ version = ' 1.2.8 '
5
5
group = ' com.github.blocoio'
6
6
7
7
sourceCompatibility = JavaVersion . VERSION_1_7
Original file line number Diff line number Diff line change 1
1
package io .bloco .faker .helpers ;
2
2
3
+ import java .security .SecureRandom ;
3
4
import java .util .List ;
4
- import java .util .Random ;
5
5
6
6
public class RandomHelper {
7
7
8
- private Random random ;
8
+ private SecureRandom random ;
9
9
10
10
public RandomHelper () {
11
- random = new Random ();
11
+ random = new SecureRandom ();
12
12
}
13
13
14
14
public <T > T sample (List <T > options ) {
You can’t perform that action at this time.
0 commit comments