parent
82941caa00
commit
a73a819c82
|
@ -158,7 +158,7 @@ public class FieldRetrievingFactoryBean
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@SuppressWarnings("NullAway") // Lazy initialization
|
@SuppressWarnings("NullAway") // Dataflow analysis limitation
|
||||||
public void afterPropertiesSet() throws ClassNotFoundException, NoSuchFieldException {
|
public void afterPropertiesSet() throws ClassNotFoundException, NoSuchFieldException {
|
||||||
if (this.targetClass != null && this.targetObject != null) {
|
if (this.targetClass != null && this.targetObject != null) {
|
||||||
throw new IllegalArgumentException("Specify either targetClass or targetObject, not both");
|
throw new IllegalArgumentException("Specify either targetClass or targetObject, not both");
|
||||||
|
|
|
@ -179,7 +179,7 @@ public class SingleConnectionDataSource extends DriverManagerDataSource
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@SuppressWarnings("NullAway") // Lazy initialization
|
@SuppressWarnings("NullAway") // Dataflow analysis limitation
|
||||||
public Connection getConnection() throws SQLException {
|
public Connection getConnection() throws SQLException {
|
||||||
this.connectionLock.lock();
|
this.connectionLock.lock();
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -159,7 +159,7 @@ public class EmbeddedDatabaseFactory {
|
||||||
* Factory method that returns the {@linkplain EmbeddedDatabase embedded database}
|
* Factory method that returns the {@linkplain EmbeddedDatabase embedded database}
|
||||||
* instance, which is also a {@link DataSource}.
|
* instance, which is also a {@link DataSource}.
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("NullAway") // Lazy initialization
|
@SuppressWarnings("NullAway") // Dataflow analysis limitation
|
||||||
public EmbeddedDatabase getDatabase() {
|
public EmbeddedDatabase getDatabase() {
|
||||||
if (this.dataSource == null) {
|
if (this.dataSource == null) {
|
||||||
initDatabase();
|
initDatabase();
|
||||||
|
|
|
@ -43,7 +43,7 @@ public abstract class AbstractColumnMaxValueIncrementer extends AbstractDataFiel
|
||||||
* @see #setIncrementerName
|
* @see #setIncrementerName
|
||||||
* @see #setColumnName
|
* @see #setColumnName
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("NullAway")
|
@SuppressWarnings("NullAway.Init")
|
||||||
public AbstractColumnMaxValueIncrementer() {
|
public AbstractColumnMaxValueIncrementer() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -323,7 +323,7 @@ public class SingleConnectionFactory implements ConnectionFactory, QueueConnecti
|
||||||
* @throws jakarta.jms.JMSException if thrown by JMS API methods
|
* @throws jakarta.jms.JMSException if thrown by JMS API methods
|
||||||
* @see #initConnection()
|
* @see #initConnection()
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("NullAway") // Lazy initialization
|
@SuppressWarnings("NullAway") // Dataflow analysis limitation
|
||||||
protected Connection getConnection() throws JMSException {
|
protected Connection getConnection() throws JMSException {
|
||||||
this.connectionLock.lock();
|
this.connectionLock.lock();
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -1434,7 +1434,7 @@ public class DefaultMessageListenerContainer extends AbstractPollingMessageListe
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("NullAway") // Lazy initialization
|
@SuppressWarnings("NullAway") // Dataflow analysis limitation
|
||||||
private void initResourcesIfNecessary() throws JMSException {
|
private void initResourcesIfNecessary() throws JMSException {
|
||||||
if (getCacheLevel() <= CACHE_CONNECTION) {
|
if (getCacheLevel() <= CACHE_CONNECTION) {
|
||||||
updateRecoveryMarker();
|
updateRecoveryMarker();
|
||||||
|
|
Loading…
Reference in New Issue