aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-07-05 16:30:38 +0200
committerJulien Lancelot <julien.lancelot@gmail.com>2013-07-05 16:31:15 +0200
commitf94b071199fef33f601b38672a63615b90dd699d (patch)
tree856167859390476c0d660472addff73072caa0ba /sonar-core
parentcac97c5269e00ea7249f31932350b7df5d80d041 (diff)
downloadsonarqube-f94b071199fef33f601b38672a63615b90dd699d.tar.gz
sonarqube-f94b071199fef33f601b38672a63615b90dd699d.zip
SONAR-4460 Remove fetchSize on measure filters
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterSql.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterSql.java b/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterSql.java
index bed09124a09..90862fc1826 100644
--- a/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterSql.java
+++ b/sonar-core/src/main/java/org/sonar/core/measure/MeasureFilterSql.java
@@ -30,18 +30,12 @@ import org.sonar.core.resource.SnapshotDto;
import javax.annotation.Nullable;
-import java.sql.Connection;
-import java.sql.Date;
-import java.sql.PreparedStatement;
-import java.sql.ResultSet;
-import java.sql.SQLException;
-import java.sql.Timestamp;
+import java.sql.*;
import java.util.Comparator;
import java.util.List;
class MeasureFilterSql {
- private static final int FETCH_SIZE = 1000;
private final Database database;
private final MeasureFilter filter;
private final MeasureFilterContext context;
@@ -57,7 +51,6 @@ class MeasureFilterSql {
List<MeasureFilterRow> execute(Connection connection) throws SQLException {
PreparedStatement statement = connection.prepareStatement(sql);
- statement.setFetchSize(FETCH_SIZE);
ResultSet rs = null;
try {
for (int index = 0; index < dateParameters.size(); index++) {