Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
Reformat the code a little to improve its readability.

JIRA: LIGHTY-298
Signed-off-by: tobias.pobocik <[email protected]>
  • Loading branch information
Tobianas authored and ihrasko committed May 23, 2024
1 parent 3dcab11 commit 94014c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ protected boolean stopProcedure() {
try {
bgpNettyGroups.close();
} catch (Exception e) {
LOG.warn("Failed to stop BGP dispatcher", e);
LOG.warn("Failed to stop BGP Netty groups", e);
closeSuccess = false;
}
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@ protected boolean initProcedure() {
lightyServices.getBindingDataBroker(), lightyServices.getRpcProviderService(),
lightyServices.getClusterSingletonServiceProvider(), encryptionService);
final NetconfClientFactory netconfFactory = new NetconfClientFactoryImpl(new DefaultNetconfTimer());
final CredentialProvider credentialProvider
= new DefaultCredentialProvider(service);
final SslContextFactoryProvider factoryProvider
= new DefaultSslContextFactoryProvider(service);
final CredentialProvider credentialProvider = new DefaultCredentialProvider(service);
final SslContextFactoryProvider factoryProvider = new DefaultSslContextFactoryProvider(service);
final NetconfClientConfigurationBuilderFactory factory = new NetconfClientConfigurationBuilderFactoryImpl(
encryptionService, credentialProvider, factoryProvider);
final NetconfTopologySchemaAssembler assembler = new NetconfTopologySchemaAssembler(1,1,10, TimeUnit.SECONDS);
Expand Down

0 comments on commit 94014c4

Please sign in to comment.