Rename Retryable.run() to Retryable.execute()

See gh-34716
This commit is contained in:
Sam Brannen
2025-06-11 13:50:16 +02:00
parent d74b863ae7
commit 8f3ca49bc4
3 changed files with 7 additions and 7 deletions
@@ -44,7 +44,7 @@ class RetryTemplateTests {
int failure;
@Override
public String run() throws Exception {
public String execute() throws Exception {
if (failure++ < 2) {
throw new Exception("Error while invoking greeting service");
}
@@ -68,7 +68,7 @@ class RetryTemplateTests {
Retryable<String> retryable = new Retryable<>() {
@Override
public String run() throws Exception {
public String execute() throws Exception {
throw exception;
}
@@ -100,7 +100,7 @@ class RetryTemplateTests {
Retryable<String> retryable = new Retryable<>() {
@Override
public String run() throws TechnicalException {
public String execute() throws TechnicalException {
throw technicalException;
}