Clean up / Suppress warnings

This commit is contained in:
Sam Brannen
2023-08-18 12:46:17 +02:00
parent ca118ca4a0
commit 3dcac0cf80
2 changed files with 2 additions and 1 deletions

View File

@@ -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");