Return type documented as Collection but is array
Brought to you by:
niallg
In Simple 2.7.1 the methods getNames() and getPaths() of the following classes and interfaces are documented (in javadoc) to return "a Collection" although they return an array of Strings (in signature).
"Collection" is written in upper case and formatted as "code". Therefore it seems to refer to java.util.Collection which may be confusing (manifest typing helps).