Skip to content

Commit

Permalink
🔖 Releasing / Version tags. 0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
lbw committed Jan 13, 2022
1 parent 35bc563 commit f10db4e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ key=ip+url+args
<dependency>
<groupId>com.pig4cloud.plugin</groupId>
<artifactId>idempotent-spring-boot-starter</artifactId>
<version>0.0.3</version>
<version>0.0.6</version>
</dependency>
```

Expand Down
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.2</version>
<version>2.6.2</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.pig4cloud.plugin</groupId>
<artifactId>idempotent-spring-boot-starter</artifactId>
<version>0.0.4</version>
<version>0.0.6</version>
<name>idempotent</name>
<description>An idempotent solution</description>
<url>https://pig4cloud.com</url>
Expand All @@ -37,15 +37,15 @@

<properties>
<java.version>1.8</java.version>
<mica.version>2.1.1</mica.version>
<redisson.version>3.16.0</redisson.version>
<mica.version>2.2.2</mica.version>
<redisson.version>3.16.7</redisson.version>
<spring.checkstyle.plugin>0.0.28</spring.checkstyle.plugin>
</properties>

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ public void beforePointCut(JoinPoint joinPoint) {
Object v1;
if (null != rMapCache.get(key)) {
// had stored
throw new IdempotentException("[idempotent]:" + info);
throw new IdempotentException(info);
}
synchronized (this) {
v1 = rMapCache.putIfAbsent(key, value, expireTime, timeUnit);
if (null != v1) {
throw new IdempotentException("[idempotent]:" + info);
throw new IdempotentException(info);
}
else {
LOGGER.info("[idempotent]:has stored key={},value={},expireTime={}{},now={}", key, value, expireTime,
Expand Down

0 comments on commit f10db4e

Please sign in to comment.