Skip to content

Commit 0c67868

Browse files
Add default ctor
Let's match the convention with other classes from this repo to keep default ctor explicitly.
1 parent e300cb2 commit 0c67868

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

problem4j-core/src/main/java/io/github/problem4j/core/AbstractProblemMapper.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ public abstract class AbstractProblemMapper implements ProblemMapper {
6767
protected static final String MESSAGE_LABEL = "message";
6868
protected static final String CONTEXT_LABEL_PREFIX = "context.";
6969

70+
/** Creates a new instance of problem mapper. */
71+
public AbstractProblemMapper() {}
72+
7073
/**
7174
* Convert {@link Throwable} -> {@link ProblemBuilder} according to its {@link ProblemMapping}
7275
* annotation. Such builder can be further extended or executed to create {@link Problem}

0 commit comments

Comments
 (0)