Skip to content

Commit

Permalink
RC-12: The Enabled flag in the Auto Review Creation settings is not b…
Browse files Browse the repository at this point in the history
…eing honored in all places.

Fixed NPE.

git-svn-id: http://svn.atlassian.com/svn/public/atlassian/crucible/plugins/review-creator/trunk@39938 2c54a935-e501-0410-bc05-97a93f6bca70
  • Loading branch information
evzijst committed Aug 20, 2010
1 parent 08b109c commit 3e6cc25
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ public void handleEvent(Event event) {
new Operation<Void, ServerException>() {
public Void perform() throws ServerException {

ChangesetDataFE cs = revisionService.getChangeset(
final ChangesetDataFE cs = revisionService.getChangeset(
commit.getRepositoryName(), commit.getChangeSetId());
ProjectData project = getEnabledProjectForRepository(
final ProjectData project = getEnabledProjectForRepository(
commit.getRepositoryName());
committerToCrucibleUser.set(loadCommitterMappings(project.getDefaultRepositoryName()));

if (project != null) {
committerToCrucibleUser.set(loadCommitterMappings(project.getDefaultRepositoryName()));
if (project.getDefaultModerator() != null) {
if (isUnderScrutiny(cs.getAuthor())) {
if (!config.loadIterative() || !appendToReview(commit.getRepositoryName(), cs, project)) {
Expand Down

0 comments on commit 3e6cc25

Please sign in to comment.