aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src/main
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-06-25 10:41:56 +0200
committerJulien Lancelot <julien.lancelot@gmail.com>2013-06-25 10:41:56 +0200
commit3b9408de9e82b118d37bef28f05a7c131e2b13a7 (patch)
tree3ac581b6c6cb17af8ffd7b5a94f5e4b9708744ce /sonar-core/src/main
parent1296af33c362310fde9d7e6e4357d5a758a323c4 (diff)
downloadsonarqube-3b9408de9e82b118d37bef28f05a7c131e2b13a7.tar.gz
sonarqube-3b9408de9e82b118d37bef28f05a7c131e2b13a7.zip
SONAR-3714 Add check in plan action that all issues are related to the action plan project
Diffstat (limited to 'sonar-core/src/main')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/resource/ResourceDao.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/resource/ResourceDao.java b/sonar-core/src/main/java/org/sonar/core/resource/ResourceDao.java
index bcb7514322d..5dfb4ec22ae 100644
--- a/sonar-core/src/main/java/org/sonar/core/resource/ResourceDao.java
+++ b/sonar-core/src/main/java/org/sonar/core/resource/ResourceDao.java
@@ -155,6 +155,7 @@ public class ResourceDao {
}
}
+ @CheckForNull
public Component findByKey(String key) {
ResourceDto resourceDto = getResource(ResourceQuery.create().setKey(key));
return resourceDto != null ? toComponent(resourceDto) : null;