Skip to content

Commit

Permalink
spotless changes
Browse files Browse the repository at this point in the history
  • Loading branch information
GoMati-MU committed May 22, 2024
1 parent c506b2a commit 634953a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,16 @@ public String version() {

@Override
public void start(Map<String, String> props) {
int recordsQueueDefaultSize = new AzureServiceBusSourceConfig(props)
.getInt(AzureServiceBusConfigConstants.TASK_RECORDS_QUEUE_SIZE);
int recordsQueueDefaultSize =
new AzureServiceBusSourceConfig(props)
.getInt(AzureServiceBusConfigConstants.TASK_RECORDS_QUEUE_SIZE);
String connectionString = props.get(AzureServiceBusConfigConstants.CONNECTION_STRING);
List<Kcql> kcqls =
KcqlConfigBusMapper.mapKcqlsFromConfig(props.get(AzureServiceBusConfigConstants.KCQL_CONFIG));

OffsetStorageReader offsetStorageReader =
ofNullable(this.context).flatMap(
context -> ofNullable(context.offsetStorageReader())).orElseThrow();


ArrayBlockingQueue<ServiceBusMessageHolder> recordsQueue =
new ArrayBlockingQueue<>(recordsQueueDefaultSize);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ void completeShouldCallRecieverComplete() {
verify(receiverAsyncClient).complete(mockedMessage);
}


private static Kcql mockKcql(Map<String, String> propertiesMap) {
String inputBusName = "INPUT";
Kcql kcql = mock(Kcql.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ void commitMessageInServiceBusShouldCallExecutorService() {
verify(executorService).submit(any(Runnable.class));
}

private ServiceBusReceiverFacade mockReceiver(String receiverId){
private ServiceBusReceiverFacade mockReceiver(String receiverId) {
ServiceBusReceiverFacade receiverFacade = mock(ServiceBusReceiverFacade.class);
when(receiverFacade.getReceiverId()).thenReturn(receiverId);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ void mapInputToOutputsFromConfigForMultipleKcqlStatementsShouldReturnMapOfInputT
fullKcql.append(" ").append(createNecessaryPropertiesPart()).append(";");
}
//when
List<Kcql> kcqls = KcqlConfigBusMapper.mapKcqlsFromConfig(
fullKcql.toString());
List<Kcql> kcqls =
KcqlConfigBusMapper.mapKcqlsFromConfig(
fullKcql.toString());

//then
for (int i = 0; i < numberOfMappings; i++) {
Expand Down

0 comments on commit 634953a

Please sign in to comment.