aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}