Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class DataSourceHealthIndicatorProperties {
* Whether to ignore AbstractRoutingDataSources when creating database health
* indicators.
*/
private boolean ignoreRoutingDataSources = false;
private boolean ignoreRoutingDataSources;

public boolean isIgnoreRoutingDataSources() {
return this.ignoreRoutingDataSources;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public class ElasticProperties extends StepRegistryProperties {
* Whether to enable _source in the default index template when auto-creating the
* index.
*/
private boolean enableSource = false;
private boolean enableSource;

public String getHost() {
return this.host;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class StackdriverProperties extends StepRegistryProperties {
* published as the GAUGE MetricKind. When true, counter metrics are published as the
* CUMULATIVE MetricKind.
*/
private boolean useSemanticMetricTypes = false;
private boolean useSemanticMetricTypes;

/**
* Prefix for metric type. Valid prefixes are described in the Google Cloud
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public static class Brave {
* between client and server spans. Requires B3 propagation and a compatible
* backend.
*/
private boolean spanJoiningSupported = false;
private boolean spanJoiningSupported;

public boolean isSpanJoiningSupported() {
return this.spanJoiningSupported;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ public static class DirectContainer extends AmqpContainer {
* Whether to fail if the queues declared by the container are not available on
* the broker.
*/
private boolean missingQueuesFatal = false;
private boolean missingQueuesFatal;

public Integer getConsumersPerQueue() {
return this.consumersPerQueue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ public class MessageSourceProperties {
* Whether to always apply the MessageFormat rules, parsing even messages without
* arguments.
*/
private boolean alwaysUseMessageFormat = false;
private boolean alwaysUseMessageFormat;

/**
* Whether to use the message code as the default message instead of throwing a
* "NoSuchMessageException". Recommended during development only.
*/
private boolean useCodeAsDefaultMessage = false;
private boolean useCodeAsDefaultMessage;

public List<String> getBasename() {
return this.basename;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static class Pageable {
* Whether to expose and assume 1-based page number indexes. Defaults to "false",
* meaning a page number of 0 in the request equals the first page.
*/
private boolean oneIndexedParameters = false;
private boolean oneIndexedParameters;

/**
* General prefix to be prepended to the page number and page size parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class ElasticsearchProperties {
/**
* Whether to enable socket keep alive between client and Elasticsearch.
*/
private boolean socketKeepAlive = false;
private boolean socketKeepAlive;

/**
* Prefix added to the path of every request sent to Elasticsearch.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public class FlywayProperties {
* Whether to validate migrations and callbacks whose scripts do not obey the correct
* naming convention.
*/
private boolean validateMigrationNaming = false;
private boolean validateMigrationNaming;

/**
* Whether to automatically call validate when performing a migration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public static class Printer {
* Whether the endpoint that prints the schema is enabled. Schema is available
* under spring.graphql.path + "/schema".
*/
private boolean enabled = false;
private boolean enabled;

public boolean isEnabled() {
return this.enabled;
Expand All @@ -204,7 +204,7 @@ public static class Graphiql {
/**
* Whether the default GraphiQL UI is enabled.
*/
private boolean enabled = false;
private boolean enabled;

public String getPath() {
return this.path;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class H2ConsoleProperties {
/**
* Whether to enable the console.
*/
private boolean enabled = false;
private boolean enabled;

private final Settings settings = new Settings();

Expand Down Expand Up @@ -70,12 +70,12 @@ public static class Settings {
/**
* Whether to enable trace output.
*/
private boolean trace = false;
private boolean trace;

/**
* Whether to enable remote access.
*/
private boolean webAllowOthers = false;
private boolean webAllowOthers;

/**
* Password to access preferences and tools of H2 Console.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public static class Endpoint {
* Whether to throw an exception when a reply is not expected anymore by a
* gateway.
*/
private boolean throwExceptionOnLateReply = false;
private boolean throwExceptionOnLateReply;

/**
* List of message header names that should not be populated into Message
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public class JacksonProperties {
* Time zone used when formatting dates. For instance, "America/Los_Angeles" or
* "GMT+10".
*/
private TimeZone timeZone = null;
private TimeZone timeZone;

/**
* Locale used for formatting.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class JmsProperties {
/**
* Whether the default destination type is topic.
*/
private boolean pubSubDomain = false;
private boolean pubSubDomain;

/**
* Connection factory JNDI name. When set, takes precedence to others connection
Expand All @@ -48,7 +48,7 @@ public class JmsProperties {
/**
* Whether the subscription is durable.
*/
private boolean subscriptionDurable = false;
private boolean subscriptionDurable;

/**
* Client id of the connection.
Expand Down Expand Up @@ -115,7 +115,7 @@ public static class Cache {
/**
* Whether to cache message consumers.
*/
private boolean consumers = false;
private boolean consumers;

/**
* Whether to cache message producers.
Expand Down Expand Up @@ -423,7 +423,7 @@ public static class Session {
/**
* Whether to use transacted sessions.
*/
private boolean transacted = false;
private boolean transacted;

public AcknowledgeMode getAcknowledgeMode() {
return this.acknowledgeMode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public class ActiveMQProperties {
* Whether to stop message delivery before re-delivering messages from a rolled back
* transaction. This implies that message order is not preserved when this is enabled.
*/
private boolean nonBlockingRedelivery = false;
private boolean nonBlockingRedelivery;

/**
* Time to wait on message sends for a response. Set it to 0 to wait forever.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ public class JmxProperties {
/**
* Expose Spring's management beans to the JMX domain.
*/
private boolean enabled = false;
private boolean enabled;

/**
* Whether unique runtime object names should be ensured.
*/
private boolean uniqueNames = false;
private boolean uniqueNames;

/**
* MBeanServer bean name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1057,13 +1057,13 @@ public enum Type {
* Whether the container should fail to start if at least one of the configured
* topics are not present on the broker.
*/
private boolean missingTopicsFatal = false;
private boolean missingTopicsFatal;

/**
* Whether the container stops after the current record is processed or after all
* the records from the previous poll are processed.
*/
private boolean immediateStop = false;
private boolean immediateStop;

/**
* Whether to auto start the container.
Expand Down Expand Up @@ -1669,7 +1669,7 @@ public static class Backoff {
/**
* Whether to have the backoff delays.
*/
private boolean random = false;
private boolean random;

public Duration getDelay() {
return this.delay;
Expand Down Expand Up @@ -1714,12 +1714,12 @@ public static class Cleanup {
/**
* Cleanup the application’s local state directory on startup.
*/
private boolean onStartup = false;
private boolean onStartup;

/**
* Cleanup the application’s local state directory on shutdown.
*/
private boolean onShutdown = false;
private boolean onShutdown;

public boolean isOnStartup() {
return this.onStartup;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,13 @@ public static class Template {
* Whether PartialResultException should be ignored in searches through the
* LdapTemplate.
*/
private boolean ignorePartialResultException = false;
private boolean ignorePartialResultException;

/**
* Whether NameNotFoundException should be ignored in searches through the
* LdapTemplate.
*/
private boolean ignoreNameNotFoundException = false;
private boolean ignoreNameNotFoundException;

/**
* Whether SizeLimitExceededException should be ignored in searches through the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public static class Ssl {
* Whether to enable SSL support. If enabled, 'mail.(protocol).ssl.enable'
* property is set to 'true'.
*/
private boolean enabled = false;
private boolean enabled;

/**
* SSL bundle name. If set, 'mail.(protocol).ssl.socketFactory' property is set to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public class MongoProperties {
/**
* Mongo server port. Cannot be set with URI.
*/
private Integer port = null;
private Integer port;

/**
* Additional server hosts. Cannot be set with URI or if 'host' is not specified.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,13 @@ public static class Servlet {
* Whether HttpServletRequest attributes are allowed to override (hide) controller
* generated model attributes of the same name.
*/
private boolean allowRequestOverride = false;
private boolean allowRequestOverride;

/**
* Whether HttpSession attributes are allowed to override (hide) controller
* generated model attributes of the same name.
*/
private boolean allowSessionOverride = false;
private boolean allowSessionOverride;

/**
* Whether to enable template caching.
Expand All @@ -176,13 +176,13 @@ public static class Servlet {
* Whether all request attributes should be added to the model prior to merging
* with the template.
*/
private boolean exposeRequestAttributes = false;
private boolean exposeRequestAttributes;

/**
* Whether all HttpSession attributes should be added to the model prior to
* merging with the template.
*/
private boolean exposeSessionAttributes = false;
private boolean exposeSessionAttributes;

/**
* Whether to expose a RequestContext for use by Spring's macro library, under the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ public static class Pool {
/**
* Whether to enable metrics.
*/
private boolean metricsEnabled = false;
private boolean metricsEnabled;

/**
* Whether to log leaked sessions.
*/
private boolean logLeakedSessions = false;
private boolean logLeakedSessions;

/**
* Maximum amount of connections in the connection pool towards a single database.
Expand Down Expand Up @@ -236,7 +236,7 @@ public static class Security {
/**
* Whether the driver should use encrypted traffic.
*/
private boolean encrypted = false;
private boolean encrypted;

/**
* Trust strategy to use.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ public class JpaProperties {
/**
* Whether to initialize the schema on startup.
*/
private boolean generateDdl = false;
private boolean generateDdl;

/**
* Whether to enable logging of SQL statements.
*/
private boolean showSql = false;
private boolean showSql;

/**
* Register OpenEntityManagerInViewInterceptor. Binds a JPA EntityManager to the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ public static class Function {
* Whether to throw an exception if any failure is encountered during server
* shutdown while enforcing stop policy on functions.
*/
private boolean propagateStopFailures = false;
private boolean propagateStopFailures;

public boolean isFailFast() {
return this.failFast;
Expand Down Expand Up @@ -594,7 +594,7 @@ public static class Consumer {
* Whether to read messages from the compacted topic rather than the full message
* backlog.
*/
private boolean readCompacted = false;
private boolean readCompacted;

/**
* Dead letter policy to use.
Expand All @@ -610,7 +610,7 @@ public static class Consumer {
/**
* Whether to auto retry messages.
*/
private boolean retryEnable = false;
private boolean retryEnable;

public String getName() {
return this.name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ public class QuartzProperties {
/**
* Whether to wait for running jobs to complete on shutdown.
*/
private boolean waitForJobsToCompleteOnShutdown = false;
private boolean waitForJobsToCompleteOnShutdown;

/**
* Whether configured jobs should overwrite existing job definitions.
*/
private boolean overwriteExistingJobs = false;
private boolean overwriteExistingJobs;

/**
* Additional Quartz Scheduler properties.
Expand Down
Loading
Loading