Polish boolean members that can use the default false value
This commit is contained in:
@@ -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<>();
|
||||
|
||||
|
||||
@@ -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<>();
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user