Skip to content

Commit

Permalink
feat: Fixed 'Nullable'
Browse files Browse the repository at this point in the history
The 'javax.annotation.Nullable' was, in fact, imported from 'com.google.code.findbugs:jsr305' which was a transitive Guava dependency.

We replace this annotation by the SpringFramework equivalent.
  • Loading branch information
Carlos Tasada committed Jun 5, 2023
1 parent c463de0 commit 858c196
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.context.annotation.Configuration;

import javax.annotation.Nullable;
import org.springframework.lang.Nullable;
import java.util.Map;

@Configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Nullable;
import org.springframework.lang.Nullable;
import java.util.Optional;

@Slf4j
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import javax.annotation.Nullable;
import org.springframework.lang.Nullable;

import static io.github.stavshamir.springwolf.SpringWolfAmqpConfigConstants.SPRINGWOLF_AMQP_CONFIG_PREFIX;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.context.annotation.Configuration;

import javax.annotation.Nullable;
import org.springframework.lang.Nullable;

import static io.github.stavshamir.springwolf.SpringWolfKafkaConfigConstants.SPRINGWOLF_KAFKA_CONFIG_PREFIX;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.util.StringValueResolver;

import javax.annotation.Nullable;
import org.springframework.lang.Nullable;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
Expand Down

0 comments on commit 858c196

Please sign in to comment.