Clean up / Suppress warnings
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user