Clean up / Suppress warnings
This commit is contained in:
parent
ca118ca4a0
commit
3dcac0cf80
|
@ -504,6 +504,7 @@ public class JmsTemplate extends JmsDestinationAccessor implements JmsOperations
|
|||
* @see #execute(SessionCallback)
|
||||
* @see #receive
|
||||
*/
|
||||
@SuppressWarnings("resource")
|
||||
@Nullable
|
||||
public <T> T execute(SessionCallback<T> action, boolean startConnection) throws JmsException {
|
||||
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)")
|
||||
.bindValues(Map.of("id", 42055,
|
||||
"name", Parameter.from("SCHAUFELRADBAGGER"),
|
||||
"name", Parameters.in("SCHAUFELRADBAGGER"),
|
||||
"manual", Parameters.in(Integer.class)))
|
||||
.fetch().rowsUpdated()
|
||||
.as(StepVerifier::create)
|
||||
|
|
Loading…
Reference in New Issue