Skip to content

Commit

Permalink
Set AbstractThrowableClassNameJsonProvider.getThrowable as protected (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
EvaristeGalois11 authored Jul 27, 2024
1 parent d39941d commit 05c40f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ private String determineClassName(IThrowableProxy throwable) {
/**
* @return null if no appropriate throwable
*/
abstract IThrowableProxy getThrowable(IThrowableProxy throwable);
protected abstract IThrowableProxy getThrowable(IThrowableProxy throwable);

public void setUseSimpleClassName(boolean useSimpleClassName) {
this.useSimpleClassName = useSimpleClassName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public ThrowableClassNameJsonProvider() {
}

@Override
IThrowableProxy getThrowable(IThrowableProxy throwable) {
protected IThrowableProxy getThrowable(IThrowableProxy throwable) {
return throwable;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public ThrowableRootCauseClassNameJsonProvider() {
}

@Override
IThrowableProxy getThrowable(IThrowableProxy throwable) {
protected IThrowableProxy getThrowable(IThrowableProxy throwable) {
return throwable == null ? null : ThrowableSelectors.rootCause(throwable);
}
}

0 comments on commit 05c40f7

Please sign in to comment.