Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
bingoohuang committed May 9, 2018
1 parent 2795183 commit f2b052f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
29 changes: 13 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,11 @@

<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.truth</groupId>
<artifactId>truth</artifactId>
<version>0.33</version>
<scope>test</scope>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>2.9.0</version>
</dependency>

<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand All @@ -63,15 +57,18 @@
<scope>provided</scope>
</dependency>


<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>2.9.0</version>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.25</version>
<groupId>com.google.truth</groupId>
<artifactId>truth</artifactId>
<version>0.33</version>
<scope>test</scope>
</dependency>

<dependency>
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/com/github/bingoohuang/voucherno/VoucherNo.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package com.github.bingoohuang.voucherno;

import lombok.extern.slf4j.Slf4j;
import lombok.val;
import redis.clients.jedis.JedisCommands;

import java.security.SecureRandom;

@Slf4j
public class VoucherNo {
private final int len;
private final SecureRandom r = new SecureRandom();
Expand Down

0 comments on commit f2b052f

Please sign in to comment.