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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user