File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
src/main/java/com/commercetools/sync Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
33 id ' org.ajoberstar.grgit' version ' 5.2.2'
44 id " com.github.ben-manes.versions" version ' 0.51.0'
55 id ' ru.vyarus.mkdocs' version ' 4.0.1' apply false
6- id " com.github.spotbugs" version " 6.0.9 "
6+ id " com.github.spotbugs" version " 6.0.12 "
77 id ' com.diffplug.spotless' version ' 6.25.0'
88 id ' io.github.gradle-nexus.publish-plugin' version ' 2.0.0'
99}
@@ -47,7 +47,7 @@ dependencies {
4747 implementation " org.apache.commons:commons-text:${ commonTextVersion} "
4848 api " com.commercetools.sdk:commercetools-sdk-java-api:${ commercetoolsJavaSdkV2Version} "
4949 api ' commons-io:commons-io:2.16.1'
50- api ' commons-codec:commons-codec:1.16.1 '
50+ api ' commons-codec:commons-codec:1.17.0 '
5151 api ' com.google.code.findbugs:annotations:3.0.1'
5252 api ' com.neovisionaries:nv-i18n:1.29'
5353 testImplementation " org.mockito:mockito-junit-jupiter:${ mockitoJunitJupiterVersion} "
Original file line number Diff line number Diff line change 44import com .commercetools .api .models .customer .CustomerSetCustomTypeActionBuilder ;
55import com .commercetools .api .models .customer .CustomerUpdateAction ;
66import com .commercetools .sync .commons .helpers .GenericCustomActionBuilder ;
7+ import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
78import java .util .Map ;
89import javax .annotation .Nonnull ;
910import javax .annotation .Nullable ;
@@ -18,6 +19,7 @@ private CustomerCustomActionBuilder() {
1819 }
1920
2021 @ Nonnull
22+ @ SuppressFBWarnings
2123 public static CustomerCustomActionBuilder of () {
2224 return builder ;
2325 }
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public static SyncFilter ofBlackList(@Nonnull final ActionGroup... actionGroups)
5757 }
5858
5959 @ Nonnull
60- public static SyncFilter of () {
60+ public static synchronized SyncFilter of () {
6161 defaultSyncFilter = ofNullable (defaultSyncFilter ).orElseGet (SyncFilter ::new );
6262 return defaultSyncFilter ;
6363 }
Original file line number Diff line number Diff line change 44import com .commercetools .api .models .shopping_list .ShoppingListSetCustomTypeActionBuilder ;
55import com .commercetools .api .models .shopping_list .ShoppingListUpdateAction ;
66import com .commercetools .sync .commons .helpers .GenericCustomActionBuilder ;
7+ import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
78import java .util .Map ;
89import javax .annotation .Nonnull ;
910import javax .annotation .Nullable ;
@@ -19,6 +20,7 @@ private ShoppingListCustomActionBuilder() {
1920 }
2021
2122 @ Nonnull
23+ @ SuppressFBWarnings
2224 public static ShoppingListCustomActionBuilder of () {
2325 return builder ;
2426 }
You can’t perform that action at this time.
0 commit comments