aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-06-03 15:37:55 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-06-03 15:38:32 +0200
commit48f25de92c75da5f802c3d2702a2f2ef8e76d6ab (patch)
tree276512d266ebaf02bd46c9238f28463cc8b28dae
parent10b7f39a53f93636be1bb53da4032f80e55920a7 (diff)
downloadsonarqube-48f25de92c75da5f802c3d2702a2f2ef8e76d6ab.tar.gz
sonarqube-48f25de92c75da5f802c3d2702a2f2ef8e76d6ab.zip
maxPageSize must not be static as it's called by rails
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java b/server/sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java
index 69fbceaf448..cdb89954f03 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java
+++ b/server/sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java
@@ -632,7 +632,10 @@ public class InternalRubyIssueService {
}
}
- public static int maxPageSize() {
+ /**
+ * Do not make this method static as it's called by rails
+ */
+ public int maxPageSize() {
return QueryContext.MAX_LIMIT;
}