Skip to content

Commit

Permalink
Remove @NotNull annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed May 12, 2023
1 parent 89b9494 commit 5954021
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import org.infinispan.commons.util.Version;
import org.infinispan.server.test.core.InfinispanContainer;
import org.jboss.logging.Logger;
import org.jetbrains.annotations.NotNull;

import io.quarkus.deployment.Feature;
import io.quarkus.deployment.IsNormal;
Expand Down Expand Up @@ -224,7 +223,6 @@ private RunningDevService startContainer(String clientName, DockerStatusBuildIte
.orElseGet(infinispanServerSupplier);
}

@NotNull
private RunningDevService getRunningDevService(String clientName, String containerId, Closeable closeable, String hosts,
String username, String password, Map<String, String> config) {
config.put(getConfigPrefix(clientName) + "hosts", hosts);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import org.jboss.jandex.ParameterizedType;
import org.jboss.jandex.Type;
import org.jboss.logging.Logger;
import org.jetbrains.annotations.NotNull;

import io.quarkus.arc.deployment.UnremovableBeanBuildItem;
import io.quarkus.cache.CompositeCacheKey;
Expand Down Expand Up @@ -103,7 +102,6 @@ void determineValueTypes(RedisCacheBuildRecorder recorder, CombinedIndexBuildIte
recorder.setCacheValueTypes(valueTypes);
}

@NotNull
private static Map<String, String> valueTypesFromCacheResultAnnotation(CombinedIndexBuildItem combinedIndex) {
Map<String, Set<Type>> valueTypesFromAnnotations = new HashMap<>();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package io.quarkus.resteasy.reactive.kotlin.serialization.common;

import org.jetbrains.annotations.NotNull;

import kotlinx.serialization.json.JsonBuilder;

/**
Expand All @@ -25,7 +23,7 @@ default int priority() {
return DEFAULT_PRIORITY;
}

default int compareTo(@NotNull JsonBuilderCustomizer o) {
default int compareTo(JsonBuilderCustomizer o) {
return Integer.compare(o.priority(), priority());
}
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
package org.acme.service;

import org.jetbrains.annotations.NotNull;

import jakarta.enterprise.context.ApplicationScoped;

@ApplicationScoped
public class SimpleService {
@NotNull
public String hello() {
return "hello from JavaComponent";
}
Expand Down

0 comments on commit 5954021

Please sign in to comment.