Skip to content

Commit

Permalink
Add default for boolean unboxing (linkedin#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbramsen authored and akshayrai committed Jul 28, 2016
1 parent 93ef905 commit 473e222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/MetricsController.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class MetricsController extends Controller {
*/
public static void init() {
// Metrics registries will be initialized only if enabled
if(!Configuration.root().getBoolean("metrics")) {
if(!Configuration.root().getBoolean("metrics", false)) {
LOGGER.debug("Metrics not enabled in the conf file.");
return;
}
Expand Down

0 comments on commit 473e222

Please sign in to comment.