@@ -763,13 +763,13 @@ public Message receiveSelected(@Nullable String messageSelector) throws JmsExcep
763
763
764
764
@ Override
765
765
@ Nullable
766
- public Message receiveSelected (final Destination destination , @ Nullable final String messageSelector ) throws JmsException {
766
+ public Message receiveSelected (Destination destination , @ Nullable String messageSelector ) throws JmsException {
767
767
return execute (session -> doReceive (session , destination , messageSelector ), true );
768
768
}
769
769
770
770
@ Override
771
771
@ Nullable
772
- public Message receiveSelected (final String destinationName , @ Nullable final String messageSelector ) throws JmsException {
772
+ public Message receiveSelected (String destinationName , @ Nullable String messageSelector ) throws JmsException {
773
773
return execute (session -> {
774
774
Destination destination = resolveDestinationName (session , destinationName );
775
775
return doReceive (session , destination , messageSelector );
@@ -857,19 +857,19 @@ public Object receiveAndConvert(String destinationName) throws JmsException {
857
857
858
858
@ Override
859
859
@ Nullable
860
- public Object receiveSelectedAndConvert (String messageSelector ) throws JmsException {
860
+ public Object receiveSelectedAndConvert (@ Nullable String messageSelector ) throws JmsException {
861
861
return doConvertFromMessage (receiveSelected (messageSelector ));
862
862
}
863
863
864
864
@ Override
865
865
@ Nullable
866
- public Object receiveSelectedAndConvert (Destination destination , String messageSelector ) throws JmsException {
866
+ public Object receiveSelectedAndConvert (Destination destination , @ Nullable String messageSelector ) throws JmsException {
867
867
return doConvertFromMessage (receiveSelected (destination , messageSelector ));
868
868
}
869
869
870
870
@ Override
871
871
@ Nullable
872
- public Object receiveSelectedAndConvert (String destinationName , String messageSelector ) throws JmsException {
872
+ public Object receiveSelectedAndConvert (String destinationName , @ Nullable String messageSelector ) throws JmsException {
873
873
return doConvertFromMessage (receiveSelected (destinationName , messageSelector ));
874
874
}
875
875
@@ -1022,7 +1022,7 @@ public <T> T browse(String queueName, BrowserCallback<T> action) throws JmsExcep
1022
1022
1023
1023
@ Override
1024
1024
@ Nullable
1025
- public <T > T browseSelected (String messageSelector , BrowserCallback <T > action ) throws JmsException {
1025
+ public <T > T browseSelected (@ Nullable String messageSelector , BrowserCallback <T > action ) throws JmsException {
1026
1026
Queue defaultQueue = getDefaultQueue ();
1027
1027
if (defaultQueue != null ) {
1028
1028
return browseSelected (defaultQueue , messageSelector , action );
@@ -1034,7 +1034,7 @@ public <T> T browseSelected(String messageSelector, BrowserCallback<T> action) t
1034
1034
1035
1035
@ Override
1036
1036
@ Nullable
1037
- public <T > T browseSelected (final Queue queue , @ Nullable final String messageSelector , final BrowserCallback <T > action )
1037
+ public <T > T browseSelected (Queue queue , @ Nullable String messageSelector , BrowserCallback <T > action )
1038
1038
throws JmsException {
1039
1039
1040
1040
Assert .notNull (action , "Callback object must not be null" );
@@ -1051,7 +1051,7 @@ public <T> T browseSelected(final Queue queue, @Nullable final String messageSel
1051
1051
1052
1052
@ Override
1053
1053
@ Nullable
1054
- public <T > T browseSelected (final String queueName , @ Nullable final String messageSelector , final BrowserCallback <T > action )
1054
+ public <T > T browseSelected (String queueName , @ Nullable String messageSelector , BrowserCallback <T > action )
1055
1055
throws JmsException {
1056
1056
1057
1057
Assert .notNull (action , "Callback object must not be null" );
0 commit comments