diff options
Diffstat (limited to 'sonar-db/src')
-rw-r--r-- | sonar-db/src/main/java/org/sonar/db/component/ComponentTreeQuery.java | 1 |
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); } |