HHH-14740 Still need the nullcheck removed in HHH-14727
This commit is contained in:
parent
4454f170fa
commit
0325cd632a
|
@ -20,13 +20,15 @@ import org.hibernate.exception.spi.SQLExceptionConverter;
|
|||
*/
|
||||
public class StandardSQLExceptionConverter implements SQLExceptionConverter {
|
||||
|
||||
private final ArrayList<SQLExceptionConversionDelegate> delegates = new ArrayList<SQLExceptionConversionDelegate>(4);
|
||||
private final ArrayList<SQLExceptionConversionDelegate> delegates = new ArrayList<>();
|
||||
|
||||
public StandardSQLExceptionConverter() {
|
||||
}
|
||||
|
||||
public void addDelegate(SQLExceptionConversionDelegate delegate) {
|
||||
this.delegates.add( delegate );
|
||||
if ( delegate != null ) {
|
||||
this.delegates.add( delegate );
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue