Skip to content

Commit

Permalink
Avoid NPE when using global configured BBS URL #57
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Aug 29, 2018
1 parent 538b69e commit 66dbc4e
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,8 @@ public void perform(
.or(new ViolationsToBitbucketServerGlobalConfiguration());

combinedConfig.applyDefaults(defaults);
ViolationCommentsToBitbucketServerApi violationCommentsToBitbucketServerApi =
violationCommentsToBitbucketServerApi();
ProxyConfigDetails proxyConfigDetails =
createProxyConfigDetails(listener.getLogger(), config.getBitbucketServerUrl());
createProxyConfigDetails(listener.getLogger(), combinedConfig.getBitbucketServerUrl());
jvctsPerform(proxyConfigDetails, combinedConfig, filePath, build, listener);
}

Expand Down

0 comments on commit 66dbc4e

Please sign in to comment.