Skip to content

Commit 92bc0f7

Browse files
committed
Reducing logging a bit
1 parent 1eb1440 commit 92bc0f7

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33

44
Changelog of Violation comments to bitbucket server lib.
55

6+
## 1.57
7+
### No issue
8+
9+
**Enabling injected logger**
10+
11+
12+
[e8e683457224b68](https://github.com/tomasbjerre/violation-comments-to-bitbucket-server-lib/commit/e8e683457224b68) Tomas Bjerre *2018-09-18 07:46:33*
13+
14+
615
## 1.56
716
### No issue
817

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ apply from: project.buildscript.classLoader.getResource('release.gradle').toURI(
1919

2020

2121
dependencies {
22-
compile 'se.bjurr.violations:violation-comments-lib:1.66'
22+
compile 'se.bjurr.violations:violation-comments-lib:1.67'
2323
compile 'com.jayway.jsonpath:json-path:2.0.0'
2424
compile 'com.google.code.gson:gson:2.8.0'
2525
compile 'com.google.guava:guava:20.0'

release.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
./gradlew release || exit 1
3+
./build.sh
4+
git commit -a --amend --no-edit
5+
git push -f

src/main/java/se/bjurr/violations/comments/bitbucketserver/lib/ViolationCommentsToBitbucketServerApi.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,10 @@ private void checkState() {
8282
checkNotNull(projectKey, "projectKey");
8383
}
8484

85-
public void setViolationsLogger(final ViolationsLogger violationsLogger) {
85+
public ViolationCommentsToBitbucketServerApi withViolationsLogger(
86+
final ViolationsLogger violationsLogger) {
8687
this.violationsLogger = violationsLogger;
88+
return this;
8789
}
8890

8991
public String getBitbucketServerUrl() {

0 commit comments

Comments
 (0)