Skip to content

Commit 1107820

Browse files
committed
Issue #66 - Remove unncessary prefix
1 parent 81eecc3 commit 1107820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/ch/powerunit/extensions/exceptions/ExceptionMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ static Function<Exception, RuntimeException> forOrderedExceptions(Collection<Exc
236236
if (mappers.isEmpty()) {
237237
return WrappedException::new;
238238
}
239-
return ExceptionMapper.forExceptions(mappers.stream().sorted(Comparator.comparingInt(ExceptionMapper::order))
239+
return forExceptions(mappers.stream().sorted(Comparator.comparingInt(ExceptionMapper::order))
240240
.toArray(ExceptionMapper[]::new));
241241
}
242242

0 commit comments

Comments
 (0)