Skip to content

Commit

Permalink
fix(core): fix wrong NotNull annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
fhussonnois committed Aug 2, 2024
1 parent ac5dfc9 commit 3253857
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions core/src/main/java/io/kestra/plugin/core/kv/Get.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@
import io.kestra.core.services.FlowService;
import io.kestra.core.storages.kv.KVValue;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import lombok.extern.slf4j.Slf4j;
import org.codehaus.commons.nullanalysis.NotNull;

import java.util.*;
import java.util.NoSuchElementException;
import java.util.Optional;

@Slf4j
@SuperBuilder(toBuilder = true)
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/io/kestra/plugin/core/kv/GetKeys.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
import io.kestra.core.services.FlowService;
import io.kestra.core.storages.kv.KVEntry;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import lombok.extern.slf4j.Slf4j;
import org.codehaus.commons.nullanalysis.NotNull;

import java.util.*;

Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/io/kestra/plugin/core/kv/Set.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
import io.kestra.core.storages.kv.KVStore;
import io.kestra.core.storages.kv.KVValueAndMetadata;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.codehaus.commons.nullanalysis.NotNull;

import java.time.Duration;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
import io.kestra.core.utils.PathMatcherPredicate;
import io.kestra.core.utils.Rethrow;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.codehaus.commons.nullanalysis.NotNull;
import org.slf4j.Logger;

import java.net.URI;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
import io.kestra.core.utils.PathMatcherPredicate;
import io.kestra.core.utils.Rethrow;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import lombok.extern.slf4j.Slf4j;
import org.codehaus.commons.nullanalysis.NotNull;
import org.slf4j.Logger;

import java.io.InputStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
import io.kestra.core.serializers.JacksonMapper;
import io.kestra.core.storages.Namespace;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.codehaus.commons.nullanalysis.NotNull;

import java.io.File;
import java.io.FileInputStream;
Expand Down

0 comments on commit 3253857

Please sign in to comment.