Skip to content

Commit 6339d91

Browse files
committed
[SPARK-53713] Remove org.jetbrains.annotations test code dependency from spark-operator
### What changes were proposed in this pull request? This PR aims to remove `org.jetbrains.annotations` test code dependency from `spark-operator`. ### Why are the changes needed? To simply `spark-operator` dependency. **BEFORE** ``` $ git grep org.jetbrains | wc -l 1 ``` **AFTER** ``` $ git grep org.jetbrains | wc -l 0 ``` ### Does this PR introduce _any_ user-facing change? No behavior change. This annotation was used only for the test code. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#345 from dongjoon-hyun/SPARK-53713. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 679954a commit 6339d91

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

spark-operator/src/test/java/org/apache/spark/k8s/operator/utils/StatusRecorderTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
import io.fabric8.kubernetes.client.KubernetesClient;
3434
import io.fabric8.kubernetes.client.server.mock.EnableKubernetesMockClient;
3535
import io.fabric8.kubernetes.client.server.mock.KubernetesMockServer;
36-
import org.jetbrains.annotations.NotNull;
3736
import org.junit.jupiter.api.Test;
3837

3938
import org.apache.spark.k8s.operator.SparkApplication;
@@ -86,7 +85,6 @@ void retriesFailedStatusPatches() {
8685
any());
8786
}
8887

89-
@NotNull
9088
private static SparkApplication getSparkApplication(String resourceVersion) {
9189
var updated = TestUtils.createMockApp(DEFAULT_NS);
9290
updated.getMetadata().setResourceVersion(resourceVersion);

0 commit comments

Comments
 (0)