Typo in IllegalStateException when there are multiple beans of the same type
----------------------------------------------------------------------------
Key: WICKET-2891
URL: https://issues.apache.org/jira/browse/WICKET-2891
Project: Wicket
Issue Type: Bug
Components: wicket-spring
Affects Versions: 1.4.7
Environment: Windows 7, 64-bit
Reporter: Robin van Breukelen
Priority: Minor
I have a test where there are multiple beans of the same type, I received the
following exception
Caused by: java.lang.IllegalStateException: more then one bean of type
[MyClassName] found, you have to specify the name of the bean
(@SpringBean(name="foo")) in order to resolve this conflict. Matched beans:
MyClassNamer$$EnhancerByMockitoWithCGLIB$$f5bd36c9,MyClassName
Please note how it states "then" rather than "than" since the sentence is about
multiple things, 'than' is the only appropriate word to use.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.