language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/main/java/org/springframework/jdbc/object/SqlFunction.java
@@ -18,6 +18,7 @@ import java.sql.ResultSet; import java.sql.SQLException; + import javax.sql.DataSource; import org.springframework.dao.TypeMismatchDataAccessException;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/main/java/org/springframework/jdbc/object/SqlQuery.java
@@ -18,6 +18,7 @@ import java.util.List; import java.util.Map; + import javax.sql.DataSource; import org.springframework.dao.DataAccessException;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/main/java/org/springframework/jdbc/object/SqlUpdate.java
@@ -17,6 +17,7 @@ package org.springframework.jdbc.object; import java.util.Map; + import javax.sql.DataSource; import org.springframework.dao.DataAccessException;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/main/java/org/springframework/jdbc/object/StoredProcedure.java
@@ -18,6 +18,7 @@ import java.util.HashMap; import java.util.Map; + import javax.sql.DataSource; import org.springframework.dao.DataAccessException;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/main/java/org/springframework/jdbc/object/UpdatableSqlQuery.java
@@ -19,6 +19,7 @@ import java.sql.ResultSet; import java.sql.SQLException; import java.util.Map; + import javax.sql.DataSource; import org.springframework.jdbc.core.RowMapper;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/main/java/org/springframework/jdbc/support/DatabaseStartupValidator.java
@@ -20,6 +20,7 @@ import java.sql.SQLException; import java.sql.Statement; import java.util.concurrent.TimeUnit; + import javax.sql.DataSource; import org.apache.commons.logging.Log;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/main/java/org/springframework/jdbc/support/JdbcUtils.java
@@ -31,6 +31,7 @@ import java.sql.Types; import java.util.HashMap; import java.util.Map; + import javax.sql.DataSource; import org.apache.commons.logging.Log;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/main/java/org/springframework/jdbc/support/SQLErrorCodeSQLExceptionTranslator.java
@@ -20,6 +20,7 @@ import java.sql.BatchUpdateException; import java.sql.SQLException; import java.util.Arrays; + import javax.sql.DataSource; import org.springframework.dao.CannotAcquireLockException;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/main/java/org/springframework/jdbc/support/SQLErrorCodesFactory.java
@@ -18,6 +18,7 @@ import java.util.Collections; import java.util.Map; + import javax.sql.DataSource; import org.apache.commons.logging.Log;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/main/java/org/springframework/jdbc/support/incrementer/AbstractIdentityColumnMaxValueIncrementer.java
@@ -20,6 +20,7 @@ import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; + import javax.sql.DataSource; import org.springframework.dao.DataAccessException;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/main/java/org/springframework/jdbc/support/incrementer/AbstractSequenceMaxValueIncrementer.java
@@ -20,6 +20,7 @@ import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; + import javax.sql.DataSource; import org.springframework.dao.DataAccessException;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/main/java/org/springframework/jdbc/support/incrementer/MySQLMaxValueIncrementer.java
@@ -20,6 +20,7 @@ import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; + import javax.sql.DataSource; import org.springframework.dao.DataAccessException;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/main/java/org/springframework/jdbc/support/xml/Jdbc4SqlXmlHandler.java
@@ -23,6 +23,7 @@ import java.sql.ResultSet; import java.sql.SQLException; import java.sql.SQLXML; + import javax.xml.transform.Result; import javax.xml.transform.Source; import javax.xml.transform.dom.DOMResult;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/main/java/org/springframework/jdbc/support/xml/SqlXmlHandler.java
@@ -20,6 +20,7 @@ import java.io.Reader; import java.sql.ResultSet; import java.sql.SQLException; + import javax.xml.transform.Result; import javax.xml.transform.Source;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/config/InitializeDatabaseIntegrationTests.java
@@ -18,6 +18,7 @@ import java.util.List; import java.util.Map; + import javax.sql.DataSource; import org.junit.jupiter.api.AfterEach;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/config/JdbcNamespaceIntegrationTests.java
@@ -17,6 +17,7 @@ package org.springframework.jdbc.config; import java.util.function.Predicate; + import javax.sql.DataSource; import org.junit.jupiter.api.Test;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/core/JdbcTemplateQueryTests.java
@@ -26,6 +26,7 @@ import java.sql.Statement; import java.util.List; import java.util.Map; + import javax.sql.DataSource; import org.junit.jupiter.api.BeforeEach;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/core/JdbcTemplateTests.java
@@ -33,6 +33,7 @@ import java.util.LinkedList; import java.util.List; import java.util.Map; + import javax.sql.DataSource; import org.junit.jupiter.api.BeforeEach;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/core/namedparam/NamedParameterJdbcTemplateTests.java
@@ -28,6 +28,7 @@ import java.util.LinkedList; import java.util.List; import java.util.Map; + import javax.sql.DataSource; import org.junit.jupiter.api.BeforeEach;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/core/namedparam/NamedParameterQueryTests.java
@@ -28,6 +28,7 @@ import java.util.HashMap; import java.util.List; import java.util.Map; + import javax.sql.DataSource; import org.junit.jupiter.api.AfterEach;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/core/simple/CallMetaDataContextTests.java
@@ -22,6 +22,7 @@ import java.util.ArrayList; import java.util.List; import java.util.Map; + import javax.sql.DataSource; import org.junit.jupiter.api.AfterEach;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/core/simple/SimpleJdbcCallTests.java
@@ -22,6 +22,7 @@ import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Types; + import javax.sql.DataSource; import org.junit.jupiter.api.BeforeEach;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/core/simple/SimpleJdbcInsertTests.java
@@ -20,6 +20,7 @@ import java.sql.DatabaseMetaData; import java.sql.ResultSet; import java.util.HashMap; + import javax.sql.DataSource; import org.junit.jupiter.api.AfterEach;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/core/simple/TableMetaDataContextTests.java
@@ -23,6 +23,7 @@ import java.util.ArrayList; import java.util.Date; import java.util.List; + import javax.sql.DataSource; import org.junit.jupiter.api.BeforeEach;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/core/support/JdbcBeanDefinitionReaderTests.java
@@ -19,6 +19,7 @@ import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; + import javax.sql.DataSource; import org.junit.jupiter.api.Test;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/core/support/JdbcDaoSupportTests.java
@@ -18,6 +18,7 @@ import java.util.ArrayList; import java.util.List; + import javax.sql.DataSource; import org.junit.jupiter.api.Test;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/datasource/DataSourceJtaTransactionTests.java
@@ -21,6 +21,7 @@ import java.util.HashMap; import java.util.List; import java.util.Map; + import javax.sql.DataSource; import javax.transaction.RollbackException; import javax.transaction.Status;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/datasource/DataSourceTransactionManagerTests.java
@@ -22,6 +22,7 @@ import java.sql.SQLException; import java.sql.Savepoint; import java.sql.Statement; + import javax.sql.DataSource; import org.junit.jupiter.api.AfterEach;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/datasource/DelegatingDataSourceTests.java
@@ -19,6 +19,7 @@ import java.io.ByteArrayOutputStream; import java.io.PrintWriter; import java.sql.Connection; + import javax.sql.DataSource; import org.junit.jupiter.api.Test;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/datasource/TestDataSourceWrapper.java
@@ -18,6 +18,7 @@ import java.sql.Connection; import java.sql.SQLException; + import javax.sql.DataSource; public class TestDataSourceWrapper extends AbstractDataSource {
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/datasource/UserCredentialsDataSourceAdapterTests.java
@@ -18,6 +18,7 @@ import java.sql.Connection; import java.sql.SQLException; + import javax.sql.DataSource; import org.junit.jupiter.api.Test;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/datasource/lookup/MapDataSourceLookupTests.java
@@ -18,6 +18,7 @@ import java.util.HashMap; import java.util.Map; + import javax.sql.DataSource; import org.junit.jupiter.api.Test;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/object/BatchSqlUpdateTests.java
@@ -20,6 +20,7 @@ import java.sql.DatabaseMetaData; import java.sql.PreparedStatement; import java.sql.Types; + import javax.sql.DataSource; import org.junit.jupiter.api.Test;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/object/GenericSqlQueryTests.java
@@ -24,6 +24,7 @@ import java.util.HashMap; import java.util.List; import java.util.Map; + import javax.sql.DataSource; import org.junit.jupiter.api.BeforeEach;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/object/GenericStoredProcedureTests.java
@@ -21,6 +21,7 @@ import java.sql.Types; import java.util.HashMap; import java.util.Map; + import javax.sql.DataSource; import org.junit.jupiter.api.Test;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/object/RdbmsOperationTests.java
@@ -19,6 +19,7 @@ import java.sql.Types; import java.util.HashMap; import java.util.Map; + import javax.sql.DataSource; import org.junit.jupiter.api.Test;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/object/SqlQueryTests.java
@@ -27,6 +27,7 @@ import java.util.HashMap; import java.util.List; import java.util.Map; + import javax.sql.DataSource; import org.junit.jupiter.api.BeforeEach;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/object/SqlUpdateTests.java
@@ -24,6 +24,7 @@ import java.sql.Types; import java.util.HashMap; import java.util.Map; + import javax.sql.DataSource; import org.junit.jupiter.api.AfterEach;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/object/StoredProcedureTests.java
@@ -26,6 +26,7 @@ import java.util.HashMap; import java.util.List; import java.util.Map; + import javax.sql.DataSource; import org.junit.jupiter.api.AfterEach;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/support/DataFieldMaxValueIncrementerTests.java
@@ -20,6 +20,7 @@ import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; + import javax.sql.DataSource; import org.junit.jupiter.api.Test;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jdbc/src/test/java/org/springframework/jdbc/support/SQLErrorCodesFactoryTests.java
@@ -20,6 +20,7 @@ import java.sql.DatabaseMetaData; import java.sql.SQLException; import java.util.Arrays; + import javax.sql.DataSource; import org.junit.jupiter.api.Test;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/connection/CachingConnectionFactory.java
@@ -28,6 +28,7 @@ import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; + import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.Destination;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/connection/ChainedExceptionListener.java
@@ -18,6 +18,7 @@ import java.util.ArrayList; import java.util.List; + import javax.jms.ExceptionListener; import javax.jms.JMSException;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/connection/JmsResourceHolder.java
@@ -20,6 +20,7 @@ import java.util.HashMap; import java.util.LinkedList; import java.util.Map; + import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.JMSException;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/connection/SingleConnectionFactory.java
@@ -24,6 +24,7 @@ import java.util.LinkedHashSet; import java.util.List; import java.util.Set; + import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.ExceptionListener;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/connection/TransactionAwareConnectionFactoryProxy.java
@@ -22,6 +22,7 @@ import java.lang.reflect.Proxy; import java.util.ArrayList; import java.util.List; + import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.JMSContext;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/core/JmsMessageOperations.java
@@ -17,6 +17,7 @@ package org.springframework.jms.core; import java.util.Map; + import javax.jms.Destination; import org.springframework.lang.Nullable;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/core/JmsMessagingTemplate.java
@@ -17,6 +17,7 @@ package org.springframework.jms.core; import java.util.Map; + import javax.jms.ConnectionFactory; import javax.jms.Destination; import javax.jms.JMSException;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/listener/AbstractJmsListeningContainer.java
@@ -19,6 +19,7 @@ import java.util.Iterator; import java.util.LinkedList; import java.util.List; + import javax.jms.Connection; import javax.jms.JMSException;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/listener/DefaultMessageListenerContainer.java
@@ -19,6 +19,7 @@ import java.util.HashSet; import java.util.Set; import java.util.concurrent.Executor; + import javax.jms.Connection; import javax.jms.JMSException; import javax.jms.MessageConsumer;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/listener/SimpleMessageListenerContainer.java
@@ -19,6 +19,7 @@ import java.util.HashSet; import java.util.Set; import java.util.concurrent.Executor; + import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.Destination;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/listener/adapter/MessageListenerAdapter.java
@@ -17,6 +17,7 @@ package org.springframework.jms.listener.adapter; import java.lang.reflect.InvocationTargetException; + import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageListener;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/listener/endpoint/StandardJmsActivationSpecFactory.java
@@ -17,6 +17,7 @@ package org.springframework.jms.listener.endpoint; import java.util.Map; + import javax.jms.JMSException; import javax.jms.Queue; import javax.jms.Session;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/support/JmsMessageHeaderAccessor.java
@@ -18,6 +18,7 @@ import java.util.List; import java.util.Map; + import javax.jms.Destination; import org.springframework.lang.Nullable;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/support/SimpleJmsHeaderMapper.java
@@ -22,6 +22,7 @@ import java.util.HashSet; import java.util.Map; import java.util.Set; + import javax.jms.Destination; import javax.jms.JMSException; import javax.jms.Message;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/support/converter/MappingJackson2MessageConverter.java
@@ -23,6 +23,7 @@ import java.io.UnsupportedEncodingException; import java.util.HashMap; import java.util.Map; + import javax.jms.BytesMessage; import javax.jms.JMSException; import javax.jms.Message;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/support/converter/MarshallingMessageConverter.java
@@ -21,6 +21,7 @@ import java.io.IOException; import java.io.StringReader; import java.io.StringWriter; + import javax.jms.BytesMessage; import javax.jms.JMSException; import javax.jms.Message;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/support/converter/MessagingMessageConverter.java
@@ -17,6 +17,7 @@ package org.springframework.jms.support.converter; import java.util.Map; + import javax.jms.JMSException; import javax.jms.Session;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/support/converter/SimpleMessageConverter.java
@@ -20,6 +20,7 @@ import java.util.Enumeration; import java.util.HashMap; import java.util.Map; + import javax.jms.BytesMessage; import javax.jms.JMSException; import javax.jms.MapMessage;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/main/java/org/springframework/jms/support/destination/JndiDestinationResolver.java
@@ -18,6 +18,7 @@ import java.util.Map; import java.util.concurrent.ConcurrentHashMap; + import javax.jms.Destination; import javax.jms.JMSException; import javax.jms.Queue;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/test/java/org/springframework/jms/StubTextMessage.java
@@ -18,6 +18,7 @@ import java.util.Enumeration; import java.util.concurrent.ConcurrentHashMap; + import javax.jms.Destination; import javax.jms.JMSException; import javax.jms.TextMessage;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/test/java/org/springframework/jms/annotation/AbstractJmsAnnotationDrivenTests.java
@@ -17,6 +17,7 @@ package org.springframework.jms.annotation; import java.lang.reflect.Method; + import javax.jms.JMSException; import javax.jms.Session;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/test/java/org/springframework/jms/annotation/EnableJmsTests.java
@@ -18,6 +18,7 @@ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; + import javax.jms.JMSException; import javax.jms.MessageListener;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/test/java/org/springframework/jms/config/JmsListenerContainerFactoryIntegrationTests.java
@@ -19,6 +19,7 @@ import java.lang.reflect.Method; import java.util.HashMap; import java.util.Map; + import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageListener;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/test/java/org/springframework/jms/config/JmsNamespaceHandlerTests.java
@@ -20,6 +20,7 @@ import java.util.Iterator; import java.util.Map; import java.util.Set; + import javax.jms.ConnectionFactory; import javax.jms.Message; import javax.jms.MessageListener;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/test/java/org/springframework/jms/config/MethodJmsListenerEndpointTests.java
@@ -21,6 +21,7 @@ import java.util.Arrays; import java.util.HashMap; import java.util.Map; + import javax.jms.Destination; import javax.jms.InvalidDestinationException; import javax.jms.JMSException;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/test/java/org/springframework/jms/core/JmsMessagingTemplateTests.java
@@ -19,6 +19,7 @@ import java.io.Writer; import java.util.HashMap; import java.util.Map; + import javax.jms.Destination; import javax.jms.JMSException; import javax.jms.MessageFormatException;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/test/java/org/springframework/jms/core/JmsTemplateTests.java
@@ -19,6 +19,7 @@ import java.io.PrintWriter; import java.io.StringWriter; import java.util.List; + import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.DeliveryMode;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/test/java/org/springframework/jms/core/support/JmsGatewaySupportTests.java
@@ -17,6 +17,7 @@ import java.util.ArrayList; import java.util.List; + import javax.jms.ConnectionFactory; import org.junit.jupiter.api.Test;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/test/java/org/springframework/jms/listener/DefaultMessageListenerContainerTests.java
@@ -18,6 +18,7 @@ import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; + import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.Destination;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/test/java/org/springframework/jms/listener/SimpleMessageListenerContainerTests.java
@@ -18,6 +18,7 @@ import java.util.HashSet; import java.util.Set; + import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.ExceptionListener;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/test/java/org/springframework/jms/listener/adapter/MessageListenerAdapterTests.java
@@ -18,6 +18,7 @@ import java.io.ByteArrayInputStream; import java.io.Serializable; + import javax.jms.BytesMessage; import javax.jms.InvalidDestinationException; import javax.jms.JMSException;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/test/java/org/springframework/jms/listener/adapter/MessagingMessageListenerAdapterTests.java
@@ -19,6 +19,7 @@ import java.lang.reflect.Method; import java.util.ArrayList; import java.util.List; + import javax.jms.DeliveryMode; import javax.jms.Destination; import javax.jms.JMSException;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/test/java/org/springframework/jms/listener/adapter/ResponsiveMessageDelegate.java
@@ -18,6 +18,7 @@ import java.io.Serializable; import java.util.Map; + import javax.jms.BytesMessage; import javax.jms.MapMessage; import javax.jms.ObjectMessage;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/test/java/org/springframework/jms/remoting/JmsInvokerTests.java
@@ -19,6 +19,7 @@ import java.io.Serializable; import java.util.Arrays; import java.util.Enumeration; + import javax.jms.CompletionListener; import javax.jms.Destination; import javax.jms.JMSException;
true
Other
spring-projects
spring-framework
deba2ed1b3d422bbdd86b8573402e5a1cb1eb699.json
Add blank line between java and javax imports See gh-23539
spring-jms/src/test/java/org/springframework/jms/support/JmsMessageHeaderAccessorTests.java
@@ -17,6 +17,7 @@ package org.springframework.jms.support; import java.util.Map; + import javax.jms.Destination; import javax.jms.JMSException;
true
Other
spring-projects
spring-framework
bc81fa520e2277b627b8fe9efcb28f3035778968.json
Reject range starting above resource length Closes: gh-23576
spring-web/src/main/java/org/springframework/http/HttpRange.java
@@ -65,6 +65,7 @@ public ResourceRegion toResourceRegion(Resource resource) { long contentLength = getLengthFor(resource); long start = getRangeStart(contentLength); long end = getRangeEnd(contentLength); + Assert.isTrue(start < contentLength, "'position' exceeds the resource length " + contentLength); ret...
true
Other
spring-projects
spring-framework
bc81fa520e2277b627b8fe9efcb28f3035778968.json
Reject range starting above resource length Closes: gh-23576
spring-web/src/test/java/org/springframework/http/HttpRangeTests.java
@@ -158,17 +158,23 @@ public void toResourceRegionIllegalLength() { ByteArrayResource resource = mock(ByteArrayResource.class); given(resource.contentLength()).willReturn(-1L); HttpRange range = HttpRange.createByteRange(0, 9); - assertThatIllegalArgumentException().isThrownBy(() -> - range.toResourceRegio...
true
Other
spring-projects
spring-framework
310f0bfb6c396ac09e0d712fc0706a8e0c8a8d52.json
Remove unnecessary code from prior commit
spring-core/src/main/java/org/springframework/core/io/buffer/DataBufferUtils.java
@@ -336,15 +336,6 @@ public static Flux<DataBuffer> write( } - public void handle() { - Number n = 5; - inspect(n); - } - - public <U extends Number> void inspect(U u){ - } - - /** * Write the given stream of {@link DataBuffer DataBuffers} to the given * file {@link Path}. The optional {@code options} p...
false
Other
spring-projects
spring-framework
57d9b92b9483cc31c54ad463cbb3bbeee5fb2490.json
Upgrade Reactor to Dysprosium RC1 Closes: gh-23579
build.gradle
@@ -32,7 +32,7 @@ configure(allprojects) { project -> imports { mavenBom "com.fasterxml.jackson:jackson-bom:2.9.9" mavenBom "io.netty:netty-bom:4.1.39.Final" - mavenBom "io.projectreactor:reactor-bom:Dysprosium-M3" + mavenBom "io.projectreactor:reactor-bom:Dysprosium-RC1" mavenBom "org.eclipse.jetty:...
true
Other
spring-projects
spring-framework
57d9b92b9483cc31c54ad463cbb3bbeee5fb2490.json
Upgrade Reactor to Dysprosium RC1 Closes: gh-23579
spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionAspectSupport.java
@@ -854,15 +854,22 @@ public Object invokeWithinTransaction(Method method, @Nullable Class<?> targetCl createTransactionIfNecessary(tm, txAttr, joinpointIdentification).flatMap(it -> { try { // Need re-wrapping until we get hold of the exception through usingWhen. - return Mono.<Object, R...
true
Other
spring-projects
spring-framework
57d9b92b9483cc31c54ad463cbb3bbeee5fb2490.json
Upgrade Reactor to Dysprosium RC1 Closes: gh-23579
spring-tx/src/main/java/org/springframework/transaction/reactive/TransactionalOperatorImpl.java
@@ -80,9 +80,15 @@ public <T> Flux<T> execute(TransactionCallback<T> action) throws TransactionExce // This will normally result in a target object being invoked. // Need re-wrapping of ReactiveTransaction until we get hold of the exception // through usingWhen. - return status.flatMapMany(it -> Flux.usin...
true
Other
spring-projects
spring-framework
77b7e49fb2531a405e3d098d3573348fc3706906.json
Update ref docs for Inner class names This commit updates the reference manual to point out that one may use `.` instead of `$` as the nested class separator when providing a fully qualified class name for a nested class in XML configuration. This commit also updates the test for ClassUtils#forName to assert support ...
spring-core/src/test/java/org/springframework/tests/sample/objects/TestObject.java
@@ -75,4 +75,7 @@ public int compareTo(Object o) { return 1; } } + + public static class NestedObject { + } }
true
Other
spring-projects
spring-framework
77b7e49fb2531a405e3d098d3573348fc3706906.json
Update ref docs for Inner class names This commit updates the reference manual to point out that one may use `.` instead of `$` as the nested class separator when providing a fully qualified class name for a nested class in XML configuration. This commit also updates the test for ClassUtils#forName to assert support ...
spring-core/src/test/java/org/springframework/util/ClassUtilsTests.java
@@ -86,6 +86,8 @@ void forName() throws ClassNotFoundException { assertThat(ClassUtils.forName("org.springframework.tests.sample.objects.TestObject[][]", classLoader)).isEqualTo(TestObject[][].class); assertThat(ClassUtils.forName(TestObject[][].class.getName(), classLoader)).isEqualTo(TestObject[][].class); a...
true
Other
spring-projects
spring-framework
77b7e49fb2531a405e3d098d3573348fc3706906.json
Update ref docs for Inner class names This commit updates the reference manual to point out that one may use `.` instead of `$` as the nested class separator when providing a fully qualified class name for a nested class in XML configuration. This commit also updates the test for ClassUtils#forName to assert support ...
src/docs/asciidoc/core/core-beans.adoc
@@ -641,15 +641,13 @@ You can use the `Class` property in one of two ways: **** .Inner class names -If you want to configure a bean definition for a `static` nested class, you have to use -the binary name of the nested class. +If you want to configure a bean definition for a `static` nested class, you may use +eith...
true
Other
spring-projects
spring-framework
c9147c42819654955ba97a167f2d31388fc78e5e.json
Add RSocket to "Web Reactive" subtext Closes gh-26534
src/docs/asciidoc/index.adoc
@@ -20,7 +20,7 @@ JDBC, R2DBC, O/R Mapping, XML Marshalling. <<web.adoc#spring-web, Web Servlet>> :: Spring MVC, WebSocket, SockJS, STOMP Messaging. <<web-reactive.adoc#spring-webflux, Web Reactive>> :: Spring WebFlux, WebClient, -WebSocket. +WebSocket, RSocket. <<integration.adoc#spring-integration, Integration>> ...
false
Other
spring-projects
spring-framework
87c0e9b48a3e2219de75fb517a700d360acc3b32.json
Update copyright of change file See gh-26538
spring-web/src/test/java/org/springframework/http/client/HttpComponentsClientHttpRequestFactoryTests.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"); * you may not use this file except in compliance with the License.
false
Other
spring-projects
spring-framework
c36b80bd752d62acbe0913111ab9471a482ca2f4.json
Update copyright date in reference manual
src/docs/asciidoc/index.adoc
@@ -32,7 +32,7 @@ Brannen, Ramnivas Laddad, Arjen Poutsma, Chris Beams, Tareq Abedrabbo, Andy Clem Syer, Oliver Gierke, Rossen Stoyanchev, Phillip Webb, Rob Winch, Brian Clozel, Stephane Nicoll, Sebastien Deleuze, Jay Bryant, Mark Paluch -Copyright © 2002 - 2020 Pivotal, Inc. All Rights Reserved. +Copyright © 2002 ...
false
Other
spring-projects
spring-framework
bc90512309e8ac5bfb5a9570cff092d3eba52b00.json
Fix Checkstyle violation
spring-test/src/test/java/org/springframework/test/context/junit/jupiter/event/ParallelApplicationEventsIntegrationTests.java
@@ -16,7 +16,6 @@ package org.springframework.test.context.junit.jupiter.event; -import java.lang.management.ManagementFactory; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.stream.Collectors;
false
Other
spring-projects
spring-framework
58e9b187fedf03da21c4e2270bb5335b941ccf61.json
Enforce standard Java types in YamlProcessor `spring-beans` ships a `YamlProcessor` that's used as a base class by `YamlMapFactoryBean` and `YamlPropertiesFactoryBean`. These implementations have a clear use case: mapping application-internal Yaml documents for configuration or infrastructure purposes. Since this use...
spring-beans/src/main/java/org/springframework/beans/factory/config/YamlProcessor.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"); * you may not use this file except in compliance with the License. @@ -52,6 +52,7 @@ * @author Dave Syer * @au...
true
Other
spring-projects
spring-framework
58e9b187fedf03da21c4e2270bb5335b941ccf61.json
Enforce standard Java types in YamlProcessor `spring-beans` ships a `YamlProcessor` that's used as a base class by `YamlMapFactoryBean` and `YamlPropertiesFactoryBean`. These implementations have a clear use case: mapping application-internal Yaml documents for configuration or infrastructure purposes. Since this use...
spring-beans/src/test/java/org/springframework/beans/factory/config/YamlProcessorTests.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"); * you may not use this file except in compliance with the License. @@ -17,9 +17,11 @@ package org.springframework...
true
Other
spring-projects
spring-framework
6bc7e12bcd317cabdc5ec818976da6d98cddeacc.json
Fix typos in ResponseEntity Javadoc See gh-26512
spring-web/src/main/java/org/springframework/http/ResponseEntity.java
@@ -32,7 +32,7 @@ /** * Extension of {@link HttpEntity} that adds a {@link HttpStatus} status code. - * Used in {@code RestTemplate} as well {@code @Controller} methods. + * Used in {@code RestTemplate} as well as {@code @Controller} methods. * * <p>In {@code RestTemplate}, this class is returned by * {@link...
false
Other
spring-projects
spring-framework
eb7b206142aa486fa49c609305e59190247ecb09.json
Expose ChannelId from ReactorNettyWebSocketSession Closes gh-26485
spring-webflux/src/main/java/org/springframework/web/reactive/socket/adapter/ReactorNettyWebSocketSession.java
@@ -18,13 +18,15 @@ import java.util.function.Consumer; +import io.netty.channel.ChannelId; import io.netty.handler.codec.http.websocketx.WebSocketFrame; import org.reactivestreams.Publisher; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import reactor.netty.Connection; import react...
false
Other
spring-projects
spring-framework
836976d7328464bbe5939dd68c58b48678413207.json
Increase fudge factor
spring-test/src/test/java/org/springframework/test/context/junit/jupiter/event/ParallelApplicationEventsIntegrationTests.java
@@ -77,7 +77,7 @@ void executeTestsInParallel(Class<?> testClass) { assertThat(testNames).hasSize(10); // Skip the following assertion entirely if the thread count is too low. - if (ManagementFactory.getThreadMXBean().getThreadCount() >= 2) { + if (ManagementFactory.getThreadMXBean().getThreadCount() >= 4) { ...
false
Other
spring-projects
spring-framework
6fde28be98bde1cf46d3635e720ff8c4a79fc038.json
Fix checkstyle violations
spring-webflux/src/test/java/org/springframework/web/reactive/result/method/HandlerMethodMappingTests.java
@@ -118,7 +118,7 @@ public void ambiguousMatchOnPreFlightRequestWithoutCorsConfig() throws Exception this.mapping.registerMapping("/fo?", this.handler, this.method2); MockServerWebExchange exchange = MockServerWebExchange.from( - MockServerHttpRequest.options("http://example.org/foo") + MockServerHttpRequ...
true
Other
spring-projects
spring-framework
6fde28be98bde1cf46d3635e720ff8c4a79fc038.json
Fix checkstyle violations
spring-webmvc/src/test/java/org/springframework/web/servlet/handler/HandlerMethodMappingTests.java
@@ -306,7 +306,7 @@ protected CorsConfiguration initCorsConfiguration(Object handler, Method method, CrossOrigin crossOrigin = AnnotatedElementUtils.findMergedAnnotation(method, CrossOrigin.class); if (crossOrigin != null) { CorsConfiguration corsConfig = new CorsConfiguration(); - corsConfig.setAllowed...
true
Other
spring-projects
spring-framework
1e481cd14c555f62bc0da3261be9a7912dbd8610.json
Fix checkstyle violation
spring-expression/src/main/java/org/springframework/expression/spel/SpelParserConfiguration.java
@@ -30,10 +30,7 @@ */ public class SpelParserConfiguration { - /** - * System property that is used to configure the default compiler mode for - * SpEL expression parsers: {@value} - */ + /** System property to configure the default compiler mode for SpEL expression parsers: {@value}. */ public static final S...
false
Other
spring-projects
spring-framework
1a3ff83157d12755c967d5a8162212f0aa4922e1.json
Remove obsolete code in HeaderValueHolder
spring-test/src/main/java/org/springframework/mock/web/HeaderValueHolder.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2021 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. @@ -21,14 +21,12 @@ import java.util.Collectio...
true
Other
spring-projects
spring-framework
1a3ff83157d12755c967d5a8162212f0aa4922e1.json
Remove obsolete code in HeaderValueHolder
spring-web/src/testFixtures/java/org/springframework/web/testfixture/servlet/HeaderValueHolder.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2021 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. @@ -21,14 +21,12 @@ import java.util.Collectio...
true
Other
spring-projects
spring-framework
c19b2851f190d192b97ce1131e2db49636811578.json
Ignore null Locale in MockHttpServletResponse Prior to this commit, calls to setLocale() MockHttpServletResponse would result in a NullPointerException if the supplied Locale was null. Although the Javadoc for setLocale(Locale) and addHeader(String, String) in javax.servlet.ServletResponse does not specify how a null...
spring-test/src/main/java/org/springframework/mock/web/MockHttpServletResponse.java
@@ -344,6 +344,9 @@ public void reset() { @Override public void setLocale(Locale locale) { + if (locale == null) { + return; + } this.locale = locale; doAddHeaderValue(HttpHeaders.CONTENT_LANGUAGE, locale.toLanguageTag(), true); }
true