File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/java/com/redislabs/demos/redisbank/transactions Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 4
4
FROM maven AS build
5
5
COPY src /home/app/src
6
6
COPY pom.xml /home/app
7
- RUN mvn -f /home/app/pom.xml clean package -Dmaven.test.skip=true
7
+ RUN mvn -f /home/app/pom.xml clean package
8
8
9
9
#
10
10
# Package stage
Original file line number Diff line number Diff line change 9
9
import java .util .Date ;
10
10
import java .util .HashMap ;
11
11
import java .util .List ;
12
+ import java .util .Locale ;
12
13
import java .util .Map ;
13
14
14
15
import com .fasterxml .jackson .core .JsonProcessingException ;
@@ -43,7 +44,7 @@ public class BankTransactionGenerator {
43
44
private final List <TransactionSource > transactionSources ;
44
45
private final SecureRandom random ;
45
46
private final DateFormat df = new SimpleDateFormat ("yyyy.MM.dd 'at' HH:mm:ss" );
46
- private final NumberFormat nf = NumberFormat .getCurrencyInstance ();
47
+ private final NumberFormat nf = NumberFormat .getCurrencyInstance (Locale . GERMANY );
47
48
48
49
private final StringRedisTemplate redis ;
49
50
private final StatefulRediSearchConnection <String , String > connection ;
You can’t perform that action at this time.
0 commit comments