Typo in error message when no implicit selection is found in CriteriaQuery

Description

If a criteria query is built without explicit selection and no implicit could be found, the CriteriaQueryImpl.validate() method returns the following error:
"No explicit selection and an implicit one cold not be determined"
-> cold should be replaced by could

Same error message has been spotted in class QueryStructure, method locateImplicitSelection().

Environment

Hibernate 4.3.4 + JPA 2.1 + H2

Status

Assignee

Brett Meyer

Reporter

Ju Fou

Fix versions

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

backportDecision

None

Components

Priority

Trivial
Configure