Polish boolean members that can use the default false value

This commit is contained in:
Phillip Webb
2025-04-11 09:31:31 -07:00
parent a6f54ec5ea
commit 2143d702f2
23 changed files with 46 additions and 46 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2022 the original author or authors.
* Copyright 2012-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -39,7 +39,7 @@ class Phase {
private final boolean verboseLogging;
private boolean daemonAccess = false;
private boolean daemonAccess;
private final List<String> args = new ArrayList<>();

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2024 the original author or authors.
* Copyright 2012-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -67,7 +67,7 @@ public class GradleBuild {
private final List<String> expectedDeprecationMessages = new ArrayList<>();
private boolean configurationCache = false;
private boolean configurationCache;
private final Map<String, String> scriptProperties = new HashMap<>();

View File

@@ -87,7 +87,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
* @since 1.0.0
*/
@Parameter(property = "spring-boot.run.addResources", defaultValue = "false")
private boolean addResources = false;
private boolean addResources;
/**
* Path to agent jars.
@@ -101,7 +101,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
* @since 1.0.0
*/
@Parameter(property = "spring-boot.run.noverify")
private boolean noverify = false;
private boolean noverify;
/**
* Current working directory to use for the application. If not specified, basedir