Polishing

This commit is contained in:
Juergen Hoeller
2018-07-09 15:53:44 +02:00
parent d9e8d3bbe1
commit a80c5121fe
4 changed files with 24 additions and 24 deletions

View File

@@ -239,8 +239,8 @@ public abstract class DataAccessUtils {
RuntimeException rawException, PersistenceExceptionTranslator pet) {
Assert.notNull(pet, "PersistenceExceptionTranslator must not be null");
DataAccessException dex = pet.translateExceptionIfPossible(rawException);
return (dex != null ? dex : rawException);
DataAccessException dae = pet.translateExceptionIfPossible(rawException);
return (dae != null ? dae : rawException);
}
}