Skip to content

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

spring-integration-file/src/main/java/org/springframework/integration/file/filters/AbstractPersistentAcceptOnceFileListFilter.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,9 @@ protected boolean accept(F file) {
8080
return true;
8181
}
8282
// same value in store
83-
if (!isEqual(file, oldValue)) {
84-
if (this.store.replace(key, oldValue, newValue)) {
85-
flushIfNeeded();
86-
return true;
87-
}
83+
if (!isEqual(file, oldValue) && this.store.replace(key, oldValue, newValue)) {
84+
flushIfNeeded();
85+
return true;
8886
}
8987
return false;
9088
}

spring-integration-jms/src/main/java/org/springframework/integration/jms/JmsHeaderMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*/
3232
public abstract class JmsHeaderMapper implements HeaderMapper<Message> {
3333

34-
String CONTENT_TYPE_PROPERTY = "content_type";
34+
protected final static String CONTENT_TYPE_PROPERTY = "content_type";
3535

3636
}
3737

spring-integration-xmpp/src/main/java/org/springframework/integration/xmpp/core/XmppContextUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@
2323
*/
2424
public final class XmppContextUtils {
2525

26+
public static final String XMPP_CONNECTION_BEAN_NAME = "xmppConnection";
2627

2728
private XmppContextUtils() {
2829
super();
2930
}
3031

31-
public static String XMPP_CONNECTION_BEAN_NAME = "xmppConnection";
32-
3332
}

0 commit comments

Comments
 (0)