From 16cfbfced18782aa358807d3ae5867913970da48 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 15 Jun 2021 21:50:01 +0300 Subject: [PATCH] fix checkfornull --- .../library/configuration/ConfigurationReader.groovy | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ru/pulsar/jenkins/library/configuration/ConfigurationReader.groovy b/src/ru/pulsar/jenkins/library/configuration/ConfigurationReader.groovy index 55b7ad2d..7b44dc1b 100644 --- a/src/ru/pulsar/jenkins/library/configuration/ConfigurationReader.groovy +++ b/src/ru/pulsar/jenkins/library/configuration/ConfigurationReader.groovy @@ -7,8 +7,6 @@ import org.apache.commons.beanutils.BeanUtils import ru.pulsar.jenkins.library.IStepExecutor import ru.pulsar.jenkins.library.ioc.ContextRegistry -import javax.annotation.CheckForNull - class ConfigurationReader implements Serializable { private static ObjectMapper mapper @@ -78,7 +76,7 @@ class ConfigurationReader implements Serializable { } @NonCPS - private static void mergeInitInfobaseOptions(InitInfobaseOptions baseObject, @CheckForNull InitInfobaseOptions objectToMerge) { + private static void mergeInitInfobaseOptions(InitInfobaseOptions baseObject, InitInfobaseOptions objectToMerge) { if (objectToMerge == null || objectToMerge.additionalInitializationSteps == null) { return } @@ -86,7 +84,7 @@ class ConfigurationReader implements Serializable { } @NonCPS - private static void mergeBddOptions(BddOptions baseObject, @CheckForNull BddOptions objectToMerge) { + private static void mergeBddOptions(BddOptions baseObject, BddOptions objectToMerge) { if (objectToMerge == null || objectToMerge.vrunnerSteps == null) { return }