Browse Source

Polishing

pull/26512/head
Sam Brannen 5 years ago
parent
commit
08ce6baedf
  1. 4
      spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/AbstractJdbcCall.java
  2. 6
      spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/AbstractJdbcInsert.java

4
spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/AbstractJdbcCall.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2020 the original author or authors. * Copyright 2002-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -347,7 +347,7 @@ public abstract class AbstractJdbcCall {
/** /**
* Check whether this operation has been compiled already; * Check whether this operation has been compiled already;
* lazily compile it if not already compiled. * lazily compile it if not already compiled.
* <p>Automatically called by {@code doExecute}. * <p>Automatically called by all {@code doExecute(...)} methods.
*/ */
protected void checkCompiled() { protected void checkCompiled() {
if (!isCompiled()) { if (!isCompiled()) {

6
spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/AbstractJdbcInsert.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2020 the original author or authors. * Copyright 2002-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -301,7 +301,7 @@ public abstract class AbstractJdbcInsert {
/** /**
* Check whether this operation has been compiled already; * Check whether this operation has been compiled already;
* lazily compile it if not already compiled. * lazily compile it if not already compiled.
* <p>Automatically called by {@code validateParameters}. * <p>Automatically called by all {@code doExecute*(...)} methods.
*/ */
protected void checkCompiled() { protected void checkCompiled() {
if (!isCompiled()) { if (!isCompiled()) {
@ -312,7 +312,7 @@ public abstract class AbstractJdbcInsert {
/** /**
* Method to check whether we are allowed to make any configuration changes at this time. * Method to check whether we are allowed to make any configuration changes at this time.
* If the class has been compiled, then no further changes to the configuration are allowed. * <p>If the class has been compiled, then no further changes to the configuration are allowed.
*/ */
protected void checkIfConfigurationModificationIsAllowed() { protected void checkIfConfigurationModificationIsAllowed() {
if (isCompiled()) { if (isCompiled()) {

Loading…
Cancel
Save