diff options
Diffstat (limited to 'sonar-core/src')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/purge/AbstractPurge.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/purge/AbstractPurge.java b/sonar-core/src/main/java/org/sonar/core/purge/AbstractPurge.java index 0203a24297d..a0f46d286d1 100644 --- a/sonar-core/src/main/java/org/sonar/core/purge/AbstractPurge.java +++ b/sonar-core/src/main/java/org/sonar/core/purge/AbstractPurge.java @@ -25,9 +25,8 @@ import org.sonar.api.database.model.*; import org.sonar.api.design.DependencyDto; import org.sonar.api.utils.TimeProfiler; -import java.util.List; - import javax.persistence.Query; +import java.util.List; public abstract class AbstractPurge implements Purge { @@ -35,7 +34,7 @@ public abstract class AbstractPurge implements Purge { private int sqlInPageSize = MAX_IN_ELEMENTS; private DatabaseSession session; - private TimeProfiler profiler = new TimeProfiler(); + private TimeProfiler profiler = new TimeProfiler().setLevelToDebug(); public AbstractPurge(DatabaseSession session) { this.session = session; |