HHH-9093 - Fixed typo in error message when no implicit selection could

be found
This commit is contained in:
Julien Fourment 2014-03-28 17:59:49 +01:00 committed by Brett Meyer
parent c7903392cd
commit 69c9950b39
2 changed files with 2 additions and 2 deletions

View File

@ -276,7 +276,7 @@ public class CriteriaQueryImpl<T> extends AbstractNode implements CriteriaQuery<
// if there is not an explicit selection, there is an *implicit* selection of the root entity provided only
// a single query root was defined.
if ( getSelection() == null && !hasImplicitSelection() ) {
throw new IllegalStateException( "No explicit selection and an implicit one cold not be determined" );
throw new IllegalStateException( "No explicit selection and an implicit one could not be determined" );
}
}

View File

@ -297,7 +297,7 @@ public class QueryStructure<T> implements Serializable {
}
if ( implicitSelection == null ) {
throw new IllegalStateException( "No explicit selection and an implicit one cold not be determined" );
throw new IllegalStateException( "No explicit selection and an implicit one could not be determined" );
}
return implicitSelection;