Skip to content

Commit

Permalink
Merge remote-tracking branch 'github/fix/check-for-null' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
nixel2007 committed Jun 16, 2021
2 parents 8170ed1 + 16cfbfc commit 3cb3691
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -78,15 +76,15 @@ 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
}
baseObject.additionalInitializationSteps = objectToMerge.additionalInitializationSteps.clone()
}

@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
}
Expand Down

0 comments on commit 3cb3691

Please sign in to comment.