@@ -763,13 +763,13 @@ public Message receiveSelected(@Nullable String messageSelector) throws JmsExcep
763763
764764 @ Override
765765 @ 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 {
767767 return execute (session -> doReceive (session , destination , messageSelector ), true );
768768 }
769769
770770 @ Override
771771 @ 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 {
773773 return execute (session -> {
774774 Destination destination = resolveDestinationName (session , destinationName );
775775 return doReceive (session , destination , messageSelector );
@@ -857,19 +857,19 @@ public Object receiveAndConvert(String destinationName) throws JmsException {
857857
858858 @ Override
859859 @ Nullable
860- public Object receiveSelectedAndConvert (String messageSelector ) throws JmsException {
860+ public Object receiveSelectedAndConvert (@ Nullable String messageSelector ) throws JmsException {
861861 return doConvertFromMessage (receiveSelected (messageSelector ));
862862 }
863863
864864 @ Override
865865 @ Nullable
866- public Object receiveSelectedAndConvert (Destination destination , String messageSelector ) throws JmsException {
866+ public Object receiveSelectedAndConvert (Destination destination , @ Nullable String messageSelector ) throws JmsException {
867867 return doConvertFromMessage (receiveSelected (destination , messageSelector ));
868868 }
869869
870870 @ Override
871871 @ Nullable
872- public Object receiveSelectedAndConvert (String destinationName , String messageSelector ) throws JmsException {
872+ public Object receiveSelectedAndConvert (String destinationName , @ Nullable String messageSelector ) throws JmsException {
873873 return doConvertFromMessage (receiveSelected (destinationName , messageSelector ));
874874 }
875875
@@ -1022,7 +1022,7 @@ public <T> T browse(String queueName, BrowserCallback<T> action) throws JmsExcep
10221022
10231023 @ Override
10241024 @ 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 {
10261026 Queue defaultQueue = getDefaultQueue ();
10271027 if (defaultQueue != null ) {
10281028 return browseSelected (defaultQueue , messageSelector , action );
@@ -1034,7 +1034,7 @@ public <T> T browseSelected(String messageSelector, BrowserCallback<T> action) t
10341034
10351035 @ Override
10361036 @ 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 )
10381038 throws JmsException {
10391039
10401040 Assert .notNull (action , "Callback object must not be null" );
@@ -1051,7 +1051,7 @@ public <T> T browseSelected(final Queue queue, @Nullable final String messageSel
10511051
10521052 @ Override
10531053 @ 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 )
10551055 throws JmsException {
10561056
10571057 Assert .notNull (action , "Callback object must not be null" );
0 commit comments