Code Polishing (Sonar)
- remove redundant modifiers - overridable methods called from ctors Polishing - PR Comments
This commit is contained in:
committed by
Artem Bilan
parent
ddb4321e1d
commit
255247ca9a
@@ -481,11 +481,11 @@ public class ChannelPublishingJmsMessageListener
|
||||
*/
|
||||
private static class DestinationNameHolder {
|
||||
|
||||
public final String name;
|
||||
private final String name;
|
||||
|
||||
public final boolean isTopic;
|
||||
private final boolean isTopic;
|
||||
|
||||
public DestinationNameHolder(String name, boolean isTopic) {
|
||||
private DestinationNameHolder(String name, boolean isTopic) {
|
||||
this.name = name;
|
||||
this.isTopic = isTopic;
|
||||
}
|
||||
|
||||
@@ -942,7 +942,7 @@ public class JmsOutboundGateway extends AbstractReplyProducingMessageHandler imp
|
||||
*/
|
||||
private javax.jms.Message retryableReceiveReply(Session session, Destination replyTo, String messageSelector)
|
||||
throws JMSException {
|
||||
Connection consumerConnection = null;
|
||||
Connection consumerConnection = null;//NOSONAR
|
||||
Session consumerSession = session;
|
||||
MessageConsumer messageConsumer = null;
|
||||
JMSException exception = null;
|
||||
@@ -1306,15 +1306,15 @@ public class JmsOutboundGateway extends AbstractReplyProducingMessageHandler imp
|
||||
|
||||
private final javax.jms.Message reply;
|
||||
|
||||
public TimedReply(javax.jms.Message reply) {
|
||||
private TimedReply(javax.jms.Message reply) {
|
||||
this.reply = reply;
|
||||
}
|
||||
|
||||
public long getTimeStamp() {
|
||||
private long getTimeStamp() {
|
||||
return timeStamp;
|
||||
}
|
||||
|
||||
public javax.jms.Message getReply() {
|
||||
private javax.jms.Message getReply() {
|
||||
return reply;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user