Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
agrgr committed Dec 28, 2023
1 parent b2fd527 commit 3d21560
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected <T> List<T> runLastUpdateTimeQuery(long lastUpdateTimeMillis, FilterOp
Qualifier lastUpdateTimeLtMillis = Qualifier.metadataBuilder()
.setMetadataField(LAST_UPDATE_TIME)
.setFilterOperation(operation)
.setValue1AsObj(lastUpdateTimeMillis * 1000000)
.setValue1AsObj(lastUpdateTimeMillis * MILLIS_TO_NANO)
.build();
return template.find(new Query(lastUpdateTimeLtMillis), entityClass).toList();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public abstract class BaseIntegrationTests {

public static final String DEFAULT_SET_NAME = "aerospike";
public static final String OVERRIDE_SET_NAME = "testSet1";
protected static final int MILLIS_TO_NANO = 1_000_000;

@Value("${embedded.aerospike.namespace}")
protected String namespace;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ protected <T> List<T> runLastUpdateTimeQuery(long lastUpdateTimeMillis, FilterOp
Qualifier lastUpdateTimeLtMillis = Qualifier.metadataBuilder()
.setMetadataField(LAST_UPDATE_TIME)
.setFilterOperation(operation)
.setValue1AsObj(lastUpdateTimeMillis * 1000000)
.setValue1AsObj(lastUpdateTimeMillis * MILLIS_TO_NANO)
.build();
return reactiveTemplate.find(new Query(lastUpdateTimeLtMillis), entityClass).collectList().block();
}
Expand Down

0 comments on commit 3d21560

Please sign in to comment.