This is an automated email from the ASF dual-hosted git repository.
jmclean pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 61cf8d1831 [#7641] improvement(api): Missing @Override annotation to
the hashCode method of SparkJobTemplate (#7653)
61cf8d1831 is described below
commit 61cf8d1831bf4f0b5bcd8368ca8671e9eaf2b3e4
Author: Sua Bae <[email protected]>
AuthorDate: Fri Jul 11 09:42:45 2025 +0900
[#7641] improvement(api): Missing @Override annotation to the hashCode
method of SparkJobTemplate (#7653)
### What changes were proposed in this pull request?
Added Missing @Override annotation
### Why are the changes needed?
Fix: #7641
### Does this PR introduce _any_ user-facing change?
None
### How was this patch tested?
Execute existing api module test
---
api/src/main/java/org/apache/gravitino/job/SparkJobTemplate.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/api/src/main/java/org/apache/gravitino/job/SparkJobTemplate.java
b/api/src/main/java/org/apache/gravitino/job/SparkJobTemplate.java
index 6b9d2b677c..c70d193ede 100644
--- a/api/src/main/java/org/apache/gravitino/job/SparkJobTemplate.java
+++ b/api/src/main/java/org/apache/gravitino/job/SparkJobTemplate.java
@@ -121,6 +121,7 @@ public class SparkJobTemplate extends JobTemplate {
&& Objects.equals(configs, that.configs);
}
+ @Override
public int hashCode() {
return Objects.hash(super.hashCode(), className, jars, files, archives,
configs);
}