mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
HHH-11413 Fixing code style
This commit is contained in:
parent
787f0a44ea
commit
ff9f6efc0d
@ -959,7 +959,7 @@ else if ( namedQueryDefinition.getResultSetRef() != null ) {
|
||||
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 @@ else if ( namedQueryDefinition.getResultSetRef() != null ) {
|
||||
}
|
||||
|
||||
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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user