Skip to content

Commit 3bee96f

Browse files
Add final modifier
Co-authored-by: Lam Tran <lam.tran@commercetools.com>
1 parent 7d42270 commit 3bee96f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/commercetools/sync/products/ProductSync.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ private CompletionStage<Void> syncOrKeepTrack(
258258
final Set<String> missingReferencedProductKeys =
259259
getMissingReferencedProductKeys(newDraft, keyToIdCache);
260260

261-
boolean selfReferenceExists =
261+
final boolean selfReferenceExists =
262262
missingReferencedProductKeys.remove(newDraft.getKey());
263263

264264
if (!missingReferencedProductKeys.isEmpty()) {

0 commit comments

Comments
 (0)