diff --git a/Readme.md b/Readme.md
index 8f9086c..00b54fc 100644
--- a/Readme.md
+++ b/Readme.md
@@ -6,4 +6,5 @@ RetryTemplate retryTemplate = RetryTemplate.builder()
.retryOn(IllegalArgumentException.class)
.build();
retryTemplate.execute(callback);
-```
\ No newline at end of file
+```
+### You are welcome to enjoy it
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 8103f98..5b5ccb8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
io.github.dk900912
easy-retry
- 1.0
+ 1.0.0
easy-retry
easy java retry framework
diff --git a/src/main/java/io/github/dk900912/retry/support/RetryTemplate.java b/src/main/java/io/github/dk900912/retry/support/RetryTemplate.java
index 59a5902..a274e81 100644
--- a/src/main/java/io/github/dk900912/retry/support/RetryTemplate.java
+++ b/src/main/java/io/github/dk900912/retry/support/RetryTemplate.java
@@ -39,7 +39,6 @@ public void setRetryPolicy(RetryPolicy retryPolicy) {
this.retryPolicy = retryPolicy;
}
-
@Override
public final T execute(RetryCallback retryCallback) throws E {
return doExecute(retryCallback);
@@ -83,9 +82,9 @@ private T doExecute(RetryCallback retryCallback)
} catch (Throwable e) {
throw RetryTemplate.wrapIfNecessary(e);
} finally {
- logger.info("0={===> {} <===}=0", context);
close(retryPolicy, context);
RetrySynchronizationManager.clear();
+ logger.info("0={===> {} <===}=0", context);
}
}