Conform the formatting rules.
@@ -199,8 +199,12 @@ public class HikariModule implements Extension {
hikari = build(application.getEnvironment(), database);
}
- if (metricRegistry != null) hikari.setMetricRegistry(metricRegistry);
- if (healthCheckRegistry != null) hikari.setHealthCheckRegistry(healthCheckRegistry);
+ if (metricRegistry != null) {
+ hikari.setMetricRegistry(metricRegistry);
+ }
+ if (healthCheckRegistry != null) {
+ hikari.setHealthCheckRegistry(healthCheckRegistry);
+ }
HikariDataSource dataSource = new HikariDataSource(hikari);
