Examples cleanup

This commit is contained in:
James Agnew 2017-12-08 16:33:45 -05:00
parent 0516264dc7
commit bdf734fc3c
2 changed files with 1 additions and 4 deletions

View File

@ -1762,7 +1762,7 @@ public class SearchBuilder implements ISearchBuilder {
} }
if (theLastUpdated != null && (theLastUpdated.getLowerBoundAsInstant() != null || theLastUpdated.getUpperBoundAsInstant() != null)) { if (theLastUpdated != null && (theLastUpdated.getLowerBoundAsInstant() != null || theLastUpdated.getUpperBoundAsInstant() != null)) {
pidsToInclude = new HashSet<Long>(filterResourceIdsByLastUpdated(theEntityManager, theLastUpdated, pidsToInclude)); pidsToInclude = new HashSet<>(filterResourceIdsByLastUpdated(theEntityManager, theLastUpdated, pidsToInclude));
} }
for (Long next : pidsToInclude) { for (Long next : pidsToInclude) {
if (original.contains(next) == false && allAdded.contains(next) == false) { if (original.contains(next) == false && allAdded.contains(next) == false) {

View File

@ -36,9 +36,6 @@ public class FhirServerConfig extends BaseJavaConfigDstu3 {
@Bean() @Bean()
public DaoConfig daoConfig() { public DaoConfig daoConfig() {
DaoConfig retVal = new DaoConfig(); DaoConfig retVal = new DaoConfig();
retVal.setSubscriptionEnabled(true);
retVal.setSubscriptionPollDelay(5000);
retVal.setSubscriptionPurgeInactiveAfterMillis(DateUtils.MILLIS_PER_HOUR);
retVal.setAllowMultipleDelete(true); retVal.setAllowMultipleDelete(true);
return retVal; return retVal;
} }