File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
data-loader/core/src/main/java/com/scalar/db/dataloader/core/dataimport/processor Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 3232import java .util .concurrent .Semaphore ;
3333import java .util .concurrent .TimeUnit ;
3434import java .util .concurrent .atomic .AtomicInteger ;
35+ import javax .annotation .Nullable ;
3536import lombok .RequiredArgsConstructor ;
3637import org .slf4j .Logger ;
3738import org .slf4j .LoggerFactory ;
@@ -354,7 +355,7 @@ private ImportTransactionBatchResult processTransactionBatch(
354355 *
355356 * @param transaction the {@link DistributedTransaction} to be aborted, may be null
356357 */
357- private void abortTransactionSafely (DistributedTransaction transaction ) {
358+ private void abortTransactionSafely (@ Nullable DistributedTransaction transaction ) {
358359 try {
359360 if (transaction != null ) {
360361 transaction .abort ();
You can’t perform that action at this time.
0 commit comments