Skip to content

Commit ec4370f

Browse files
mp911dejxblum
authored andcommitted
Polishing.
Add missing Override annotations. See #2690
1 parent 7fbfd5d commit ec4370f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/org/springframework/data/redis/core/script/DefaultRedisScript.java

+4
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,12 @@ public DefaultRedisScript(String script, @Nullable Class<T> resultType) {
7272
this.resultType = resultType;
7373
}
7474

75+
@Override
7576
public void afterPropertiesSet() {
7677
Assert.state(this.scriptSource != null, "Either script, script location," + " or script source is required");
7778
}
7879

80+
@Override
7981
public String getSha1() {
8082

8183
lock.lock();
@@ -89,11 +91,13 @@ public String getSha1() {
8991
}
9092
}
9193

94+
@Override
9295
@Nullable
9396
public Class<T> getResultType() {
9497
return this.resultType;
9598
}
9699

100+
@Override
97101
public String getScriptAsString() {
98102

99103
try {

0 commit comments

Comments
 (0)