Skip to content

Commit 0b9f0b3

Browse files
committed
Address AI review comments
1 parent 82a5ba8 commit 0b9f0b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/apimgt/org.wso2.carbon.apimgt.federated.gateway/src/main/java/org/wso2/carbon/federated/gateway/FederatedAPIDiscoveryRunner.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ public void scheduleDiscovery(Environment environment, String organization) {
9797
federatedAPIDiscovery = (FederatedAPIDiscovery)
9898
Class.forName(gatewayConfiguration.getDiscoveryImplementation())
9999
.getDeclaredConstructor().newInstance();
100-
federatedAPIDiscovery.init(environment, organization);
101100
log.info("Initializing federated API discovery for environment: " + environment.getName()
102-
+ " and organization: " + organization);
101+
+ " and organization: " + organization);
102+
federatedAPIDiscovery.init(environment, organization);
103103
String taskKey = environment.getName() + DELEM_COLON + organization;
104104
ScheduledFuture<?> scheduledFuture = scheduledDiscoveryTasks.get(taskKey);
105105
// Cancel existing task if one exists

0 commit comments

Comments
 (0)