Pre PR cleanup

This commit is contained in:
Ken Stevens 2019-07-24 22:00:26 -04:00
parent 84f5c7d467
commit a20b738161
1 changed files with 0 additions and 14 deletions

View File

@ -20,24 +20,17 @@ package ca.uhn.fhir.jpa.dao.expunge;
* #L% * #L%
*/ */
import ca.uhn.fhir.interceptor.api.HookParams;
import ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster; import ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster;
import ca.uhn.fhir.interceptor.api.Pointcut;
import ca.uhn.fhir.jpa.util.ExpungeOptions; import ca.uhn.fhir.jpa.util.ExpungeOptions;
import ca.uhn.fhir.jpa.util.ExpungeOutcome; import ca.uhn.fhir.jpa.util.ExpungeOutcome;
import ca.uhn.fhir.jpa.util.JpaInterceptorBroadcaster;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.rest.api.server.RequestDetails; import ca.uhn.fhir.rest.api.server.RequestDetails;
import ca.uhn.fhir.rest.server.servlet.ServletRequestDetails;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope; import org.springframework.context.annotation.Scope;
import org.springframework.data.domain.Slice; import org.springframework.data.domain.Slice;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.transaction.PlatformTransactionManager;
import javax.persistence.Id;
import java.util.concurrent.Callable; import java.util.concurrent.Callable;
import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicInteger;
@ -71,13 +64,6 @@ public class ExpungeOperation implements Callable<ExpungeOutcome> {
@Override @Override
public ExpungeOutcome call() { public ExpungeOutcome call() {
final IdDt id;
if (expungeLimitReached()) {
return expungeOutcome();
}
if (myExpungeOptions.isExpungeDeletedResources() && myVersion == null) { if (myExpungeOptions.isExpungeDeletedResources() && myVersion == null) {
expungeDeletedResources(); expungeDeletedResources();
if (expungeLimitReached()) { if (expungeLimitReached()) {