You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sk...@apache.org on 2022/09/20 07:13:50 UTC
[ignite-3] branch main updated: IGNITE-17707 Unified annotation dependency. Fixes #1094
This is an automated email from the ASF dual-hosted git repository.
sk0x50 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new 50bab7859a IGNITE-17707 Unified annotation dependency. Fixes #1094
50bab7859a is described below
commit 50bab7859a2fb162ea2f9cac79ea646d80378e02
Author: Vadim Pakhnushev <86...@users.noreply.github.com>
AuthorDate: Tue Sep 20 10:13:34 2022 +0300
IGNITE-17707 Unified annotation dependency. Fixes #1094
Signed-off-by: Slava Koptilin <sl...@gmail.com>
---
modules/rest-api/build.gradle | 1 -
modules/rest-api/pom.xml | 8 --------
.../main/java/org/apache/ignite/internal/rest/api/Problem.java | 2 +-
3 files changed, 1 insertion(+), 10 deletions(-)
diff --git a/modules/rest-api/build.gradle b/modules/rest-api/build.gradle
index d6f9b949a7..abb3479abe 100644
--- a/modules/rest-api/build.gradle
+++ b/modules/rest-api/build.gradle
@@ -24,7 +24,6 @@ dependencies {
implementation project(':ignite-core')
implementation project(':ignite-configuration-api')
implementation libs.jetbrains.annotations
- implementation libs.jsr305
implementation libs.jackson.annotations
implementation libs.jackson.databind
implementation libs.jakarta.annotations
diff --git a/modules/rest-api/pom.xml b/modules/rest-api/pom.xml
index bc26357897..414f65fa8a 100644
--- a/modules/rest-api/pom.xml
+++ b/modules/rest-api/pom.xml
@@ -73,14 +73,6 @@
<artifactId>micronaut-http-server</artifactId>
</dependency>
- <!--
- This is needed because micronaut-openapi generator in ignite-rest module uses these types to detect nullable properties
- -->
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- </dependency>
-
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
diff --git a/modules/rest-api/src/main/java/org/apache/ignite/internal/rest/api/Problem.java b/modules/rest-api/src/main/java/org/apache/ignite/internal/rest/api/Problem.java
index 3e5f1cce31..2a5e630884 100644
--- a/modules/rest-api/src/main/java/org/apache/ignite/internal/rest/api/Problem.java
+++ b/modules/rest-api/src/main/java/org/apache/ignite/internal/rest/api/Problem.java
@@ -23,9 +23,9 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Collection;
import java.util.Objects;
import java.util.UUID;
-import javax.annotation.Nullable;
import org.apache.ignite.internal.rest.constants.HttpCode;
import org.apache.ignite.internal.rest.problem.Builder;
+import org.jetbrains.annotations.Nullable;
/**
* Implements application/problem+json schema defined in <a href="https://www.rfc-editor.org/rfc/rfc7807.html">RFC-7807</a>.