Remove redundant assignment of default values to volatile fields
This commit is contained in:
committed by
Juergen Hoeller
parent
8099fc8178
commit
7949937655
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2019 the original author or authors.
|
||||
* Copyright 2002-2020 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.
|
||||
@@ -70,7 +70,7 @@ public abstract class AbstractJdbcCall {
|
||||
* Has this operation been compiled? Compilation means at least checking
|
||||
* that a DataSource or JdbcTemplate has been provided.
|
||||
*/
|
||||
private volatile boolean compiled = false;
|
||||
private volatile boolean compiled;
|
||||
|
||||
/** The generated string used for call statement. */
|
||||
@Nullable
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2019 the original author or authors.
|
||||
* Copyright 2002-2020 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.
|
||||
@@ -80,7 +80,7 @@ public abstract class AbstractJdbcInsert {
|
||||
* Has this operation been compiled? Compilation means at least checking
|
||||
* that a DataSource or JdbcTemplate has been provided.
|
||||
*/
|
||||
private volatile boolean compiled = false;
|
||||
private volatile boolean compiled;
|
||||
|
||||
/** The generated string used for insert statement. */
|
||||
private String insertString = "";
|
||||
|
||||
Reference in New Issue
Block a user