Examples cleanup
This commit is contained in:
parent
0516264dc7
commit
bdf734fc3c
|
@ -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) {
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue