Skip to content

Commit 541e9d1

Browse files
committed
Added nullable annotation to method
1 parent 2360dea commit 541e9d1

File tree

1 file changed

+2
-0
lines changed
  • data-loader/core/src/main/java/com/scalar/db/dataloader/core/dataimport/task

1 file changed

+2
-0
lines changed

data-loader/core/src/main/java/com/scalar/db/dataloader/core/dataimport/task/ImportTask.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
import java.util.List;
3232
import java.util.Map;
3333
import java.util.Optional;
34+
import javax.annotation.Nullable;
3435
import lombok.RequiredArgsConstructor;
3536

3637
/**
@@ -440,6 +441,7 @@ private boolean shouldFailForExistingData(
440441
* @param record the source record to include conditionally
441442
* @return the provided record if raw record logging is enabled; otherwise {@code null}
442443
*/
444+
@Nullable
443445
private ObjectNode getRecordForLogging(ObjectNode record) {
444446
return params.getImportOptions().isLogRawRecord() ? record : null;
445447
}

0 commit comments

Comments
 (0)