aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-05-21 15:02:38 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-05-21 15:03:23 +0200
commit56c5c93456c0c79857a32cb1706b7a640cd428d7 (patch)
treef83454ab5dc2cbab9b33c9194a80ff4c08417ffc /plugins
parentcc00a38dc2138d1aeb5dd1f84dfa5bcad8aed096 (diff)
downloadsonarqube-56c5c93456c0c79857a32cb1706b7a640cd428d7.tar.gz
sonarqube-56c5c93456c0c79857a32cb1706b7a640cd428d7.zip
SONAR-2706 Add extension point to customize workflow of reviews
Note that this extension point is still not exposed to public API. It's still located in the package org.sonar.core.reviews.workflow of sonar-core.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/ReviewNotifications.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/ReviewNotifications.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/ReviewNotifications.java
index 3fb852f651f..5122703ed7d 100644
--- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/ReviewNotifications.java
+++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/ReviewNotifications.java
@@ -77,7 +77,7 @@ public class ReviewNotifications implements BatchExtension {
if (review.getAssigneeId() == null) { // not assigned
return null;
}
- User user = userFinder.findById(review.getAssigneeId());
+ User user = userFinder.findById(review.getAssigneeId().intValue());
return user != null ? user.getLogin() : null;
}
}