HHH-12336 Avoid unnecessary invocations of fillInStackTrace() in the tests

This commit is contained in:
Sanne Grinovero 2018-02-28 21:42:21 +00:00
parent 0b24f333c9
commit 4e484af398
2 changed files with 0 additions and 2 deletions

View File

@ -124,7 +124,6 @@ public class FilterTest extends BaseEntityManagerFunctionalTestCase {
.getSingleResult(); .getSingleResult();
} }
catch (NoResultException expected) { catch (NoResultException expected) {
expected.fillInStackTrace();
} }
} ); } );

View File

@ -573,7 +573,6 @@ public class TransactionUtil {
connection.setNetworkTimeout( Executors.newSingleThreadExecutor(), (int) millis ); connection.setNetworkTimeout( Executors.newSingleThreadExecutor(), (int) millis );
} }
catch (Throwable ignore) { catch (Throwable ignore) {
ignore.fillInStackTrace();
} }
} }
} ); } );