Clean up / Suppress warnings
This commit is contained in:
@@ -504,6 +504,7 @@ public class JmsTemplate extends JmsDestinationAccessor implements JmsOperations
|
|||||||
* @see #execute(SessionCallback)
|
* @see #execute(SessionCallback)
|
||||||
* @see #receive
|
* @see #receive
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("resource")
|
||||||
@Nullable
|
@Nullable
|
||||||
public <T> T execute(SessionCallback<T> action, boolean startConnection) throws JmsException {
|
public <T> T execute(SessionCallback<T> action, boolean startConnection) throws JmsException {
|
||||||
Assert.notNull(action, "Callback object must not be null");
|
Assert.notNull(action, "Callback object must not be null");
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ abstract class AbstractDatabaseClientIntegrationTests {
|
|||||||
|
|
||||||
databaseClient.sql("INSERT INTO legoset (id, name, manual) VALUES(:id, :name, :manual)")
|
databaseClient.sql("INSERT INTO legoset (id, name, manual) VALUES(:id, :name, :manual)")
|
||||||
.bindValues(Map.of("id", 42055,
|
.bindValues(Map.of("id", 42055,
|
||||||
"name", Parameter.from("SCHAUFELRADBAGGER"),
|
"name", Parameters.in("SCHAUFELRADBAGGER"),
|
||||||
"manual", Parameters.in(Integer.class)))
|
"manual", Parameters.in(Integer.class)))
|
||||||
.fetch().rowsUpdated()
|
.fetch().rowsUpdated()
|
||||||
.as(StepVerifier::create)
|
.as(StepVerifier::create)
|
||||||
|
|||||||
Reference in New Issue
Block a user