aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db/src
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-06-29 17:55:02 +0200
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-07-04 15:20:30 +0200
commitd064ce1d68d6c9d672753a9574bbe4efac95422c (patch)
tree50ba95d38beab79541185d587adb92b1ebbcb5ea /sonar-db/src
parentfe52644712186118e91c949be2f9fb4365bb3524 (diff)
downloadsonarqube-d064ce1d68d6c9d672753a9574bbe4efac95422c.tar.gz
sonarqube-d064ce1d68d6c9d672753a9574bbe4efac95422c.zip
ComponentTreeQuery: since sortFields can't be null, enforce it
Diffstat (limited to 'sonar-db/src')
-rw-r--r--sonar-db/src/main/java/org/sonar/db/component/ComponentTreeQuery.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/component/ComponentTreeQuery.java b/sonar-db/src/main/java/org/sonar/db/component/ComponentTreeQuery.java
index 5c0cae54a60..b987ff47928 100644
--- a/sonar-db/src/main/java/org/sonar/db/component/ComponentTreeQuery.java
+++ b/sonar-db/src/main/java/org/sonar/db/component/ComponentTreeQuery.java
@@ -124,6 +124,7 @@ public class ComponentTreeQuery {
public ComponentTreeQuery build() {
requireNonNull(baseUuid);
+ requireNonNull(sortFields);
return new ComponentTreeQuery(this);
}