Skip to content

Commit 6d3fef1

Browse files
committed
Apply formatter
1 parent 51f54c0 commit 6d3fef1

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

extensions/micrometer/runtime/src/main/java/io/quarkus/micrometer/runtime/config/MicrometerConfig.java

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,18 +81,22 @@ default boolean checkBinderEnabledWithDefault(CapabilityEnabled config) {
8181
* <p>
8282
* <ul>
8383
* <li>
84-
* The {@link MicrometerConfig#enabled()} has precedence over all configurations, it means that if <code>quarkus.micrometer.enabled</code>
84+
* The {@link MicrometerConfig#enabled()} has precedence over all configurations, it means that if
85+
* <code>quarkus.micrometer.enabled</code>
8586
* is set to <code>false</code>, all metrics are disabled.
8687
* </li>
8788
* <li>
8889
* If the <code>quarkus.micrometer.binder.enable-all</code> is set to <code>true</code>, independently if the
8990
* parameter <code>aBoolean</code> resolve to <code>true</code> or <code>false</code> the metric will be enabled.
9091
* </li>
9192
* <li>
92-
* If the <code>quarkus.micrometer.binder.enable-all</code> is set to <code>false</code>, the parameter <code>aBoolean</code>
93-
* will be used to determine if the metric is enabled or not. If <code>aBoolean</code> is empty, the metric will be disabled.
93+
* If the <code>quarkus.micrometer.binder.enable-all</code> is set to <code>false</code>, the parameter
94+
* <code>aBoolean</code>
95+
* will be used to determine if the metric is enabled or not. If <code>aBoolean</code> is empty, the metric will be
96+
* disabled.
9497
* </li>
9598
* </ul>
99+
*
96100
* @param aBoolean the optional boolean value to check if the capability is enabled
97101
* @return <code>true</code> if the capability is enabled, <code>false</code> otherwise.
98102
*/
@@ -113,7 +117,8 @@ default boolean isEnabled(Optional<Boolean> aBoolean) {
113117
* <p>
114118
* <ul>
115119
* <li>
116-
* The {@link MicrometerConfig#enabled()} has precedence over all configurations, it means that if <code>quarkus.micrometer.enabled</code>
120+
* The {@link MicrometerConfig#enabled()} has precedence over all configurations, it means that if
121+
* <code>quarkus.micrometer.enabled</code>
117122
* is set to <code>false</code>, all metrics are disabled.
118123
* </li>
119124
* <li>
@@ -126,6 +131,7 @@ default boolean isEnabled(Optional<Boolean> aBoolean) {
126131
* {@link MicrometerConfig#binderEnabledDefault()} will be used to determine if the metric is enabled or not.
127132
* </li>
128133
* </ul>
134+
*
129135
* @param config the {@link CapabilityEnabled} to check if the capability is enabled
130136
* @return <code>true</code> if the capability is enabled, <code>false</code> otherwise.
131137
*/

0 commit comments

Comments
 (0)