Sonar Fixes after Checkstyle Updates
https://sonar.spring.io/issues/search#componentRoots=org.springframework.integration%3Aspring-integration|createdAt=2016-04-07T03%3A04%3A31%2B0000|sort=UPDATE_DATE|asc=false
This commit is contained in:
@@ -80,11 +80,9 @@ public abstract class AbstractPersistentAcceptOnceFileListFilter<F> extends Abst
|
||||
return true;
|
||||
}
|
||||
// same value in store
|
||||
if (!isEqual(file, oldValue)) {
|
||||
if (this.store.replace(key, oldValue, newValue)) {
|
||||
flushIfNeeded();
|
||||
return true;
|
||||
}
|
||||
if (!isEqual(file, oldValue) && this.store.replace(key, oldValue, newValue)) {
|
||||
flushIfNeeded();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ import org.springframework.integration.mapping.HeaderMapper;
|
||||
*/
|
||||
public abstract class JmsHeaderMapper implements HeaderMapper<Message> {
|
||||
|
||||
String CONTENT_TYPE_PROPERTY = "content_type";
|
||||
protected final static String CONTENT_TYPE_PROPERTY = "content_type";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -23,11 +23,10 @@ package org.springframework.integration.xmpp.core;
|
||||
*/
|
||||
public final class XmppContextUtils {
|
||||
|
||||
public static final String XMPP_CONNECTION_BEAN_NAME = "xmppConnection";
|
||||
|
||||
private XmppContextUtils() {
|
||||
super();
|
||||
}
|
||||
|
||||
public static String XMPP_CONNECTION_BEAN_NAME = "xmppConnection";
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user