Fix sonar findings on 21 style (#3020)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -36,7 +36,7 @@ import org.springframework.transaction.TransactionSystemException;
|
||||
@Slf4j
|
||||
public class ExceptionMapper {
|
||||
|
||||
private static final Map<String, String> EXCEPTION_MAPPING = new HashMap<>(4);
|
||||
private static final Map<String, String> EXCEPTION_MAPPING = HashMap.newHashMap(4);
|
||||
|
||||
// this is required to enable a certain order of exception and to select the most specific mappable exception according to the type
|
||||
// hierarchy of the exception
|
||||
|
||||
Reference in New Issue
Block a user