HHH-11413 Fixing code style

This commit is contained in:
Sanne Grinovero 2021-07-27 14:12:55 +01:00
parent 787f0a44ea
commit ff9f6efc0d
1 changed files with 2 additions and 2 deletions

View File

@ -959,7 +959,7 @@ public abstract class AbstractSharedSessionContract implements SharedSessionCont
queryReturns = rsMapping.getQueryReturns();
}
else {
throw new AssertionFailure( "Unsupported named query model. Please report the bug in Hibernate EntityManager");
throw new AssertionFailure( "Unsupported named query model. Please report the bug in Hibernate EntityManager" );
}
if ( queryReturns.length > 1 ) {
@ -967,7 +967,7 @@ public abstract class AbstractSharedSessionContract implements SharedSessionCont
}
if ( queryReturns.length == 0 ) {
throw new IllegalArgumentException("Named query exists but its result type is not compatible");
throw new IllegalArgumentException( "Named query exists but its result type is not compatible" );
}
final NativeSQLQueryReturn nativeSQLQueryReturn = queryReturns[0];