Skip to content
This repository was archived by the owner on Sep 25, 2020. It is now read-only.

Commit 2128454

Browse files
KostyaShalanwen
authored andcommitted
Allow inherite and change behaviour.
Signed-off-by: Kanstantsin Shautsou <[email protected]>
1 parent c0c8870 commit 2128454

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/jenkinsci/plugins/github/webhook/WebhookManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public class WebhookManager {
5454
*
5555
* @param endpoint url which will be created as hook on GH
5656
*/
57-
private WebhookManager(URL endpoint) {
57+
protected WebhookManager(URL endpoint) {
5858
this.endpoint = endpoint;
5959
}
6060

@@ -195,7 +195,7 @@ protected GHHook applyNullSafe(@Nonnull GitHubRepositoryName name) {
195195
*
196196
* @return always true predicate
197197
*/
198-
private Predicate<GHHook> log(final String format) {
198+
protected Predicate<GHHook> log(final String format) {
199199
return new NullSafePredicate<GHHook>() {
200200
@Override
201201
protected boolean applyNullSafe(@Nonnull GHHook input) {

0 commit comments

Comments
 (0)