Skip to content

Commit f10db4e

Browse files
author
lbw
committed
🔖 Releasing / Version tags. 0.0.6
1 parent 35bc563 commit f10db4e

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ key=ip+url+args
4040
<dependency>
4141
<groupId>com.pig4cloud.plugin</groupId>
4242
<artifactId>idempotent-spring-boot-starter</artifactId>
43-
<version>0.0.3</version>
43+
<version>0.0.6</version>
4444
</dependency>
4545
```
4646

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>2.5.2</version>
8+
<version>2.6.2</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.pig4cloud.plugin</groupId>
1212
<artifactId>idempotent-spring-boot-starter</artifactId>
13-
<version>0.0.4</version>
13+
<version>0.0.6</version>
1414
<name>idempotent</name>
1515
<description>An idempotent solution</description>
1616
<url>https://pig4cloud.com</url>
@@ -37,15 +37,15 @@
3737

3838
<properties>
3939
<java.version>1.8</java.version>
40-
<mica.version>2.1.1</mica.version>
41-
<redisson.version>3.16.0</redisson.version>
40+
<mica.version>2.2.2</mica.version>
41+
<redisson.version>3.16.7</redisson.version>
4242
<spring.checkstyle.plugin>0.0.28</spring.checkstyle.plugin>
4343
</properties>
4444

4545
<dependencies>
4646
<dependency>
4747
<groupId>org.springframework.boot</groupId>
48-
<artifactId>spring-boot-starter</artifactId>
48+
<artifactId>spring-boot-starter-web</artifactId>
4949
</dependency>
5050

5151
<dependency>

src/main/java/com/pig4cloud/plugin/idempotent/aspect/IdempotentAspect.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ public void beforePointCut(JoinPoint joinPoint) {
9292
Object v1;
9393
if (null != rMapCache.get(key)) {
9494
// had stored
95-
throw new IdempotentException("[idempotent]:" + info);
95+
throw new IdempotentException(info);
9696
}
9797
synchronized (this) {
9898
v1 = rMapCache.putIfAbsent(key, value, expireTime, timeUnit);
9999
if (null != v1) {
100-
throw new IdempotentException("[idempotent]:" + info);
100+
throw new IdempotentException(info);
101101
}
102102
else {
103103
LOGGER.info("[idempotent]:has stored key={},value={},expireTime={}{},now={}", key, value, expireTime,

0 commit comments

Comments
 (0)