File tree Expand file tree Collapse file tree
src/main/java/com/commercetools/sync/commons/helpers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import static org .apache .commons .lang3 .StringUtils .isBlank ;
44
55import com .commercetools .api .models .common .AssetDraft ;
6- import com .commercetools .api .models .common .Reference ;
76import com .commercetools .api .models .common .ResourceIdentifier ;
87import com .commercetools .api .models .customer .CustomerDraft ;
98import com .commercetools .api .models .type .CustomFieldsDraft ;
@@ -70,14 +69,6 @@ protected void collectReferencedKeysFromAssetDrafts(
7069 }
7170 }
7271
73- protected <T > void collectReferencedKeyFromReference (
74- @ Nullable final Reference reference , @ Nonnull final Consumer <String > keyInReferenceSupplier ) {
75-
76- if (reference != null && !isBlank (reference .getId ())) {
77- keyInReferenceSupplier .accept (reference .getId ());
78- }
79- }
80-
8172 protected void handleError (@ Nonnull final SyncException syncException ) {
8273 this .syncOptions .applyErrorCallback (syncException );
8374 this .syncStatistics .incrementFailed ();
You can’t perform that action at this time.
0 commit comments