Skip to content

Commit

Permalink
Implement Review Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
leonard84 committed Mar 21, 2024
1 parent 353cbf9 commit 5a2f3f2
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@ public class ErrorInfo {
private final IErrorContext errorContext;

public ErrorInfo(MethodInfo method, Throwable error) {
this.method = method;
this.error = error;
this.errorContext = null;
this(method, error, null);
}

public ErrorInfo(MethodInfo method, Throwable error, IErrorContext errorContext) {
public ErrorInfo(MethodInfo method, Throwable error, @Nullable IErrorContext errorContext) {
this.method = method;
this.error = error;
this.errorContext = errorContext;
Expand Down

0 comments on commit 5a2f3f2

Please sign in to comment.