This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Review of JavadocAndSourceRootDetection.findSourceRoots | ||
---|---|---|---|
Product: | java | Reporter: | Tomas Zezula <tzezula> |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jglick |
Priority: | P3 | Keywords: | API_REVIEW_FAST |
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 177163 | ||
Attachments: | patch |
Description
Tomas Zezula
2010-01-12 09:29:16 UTC
Created attachment 93230 [details]
patch
[JG01] Typos in Javadoc: "immediatelly", "alredy" [JG02] I would expect the return value to be Set<FileObject>; you do not want duplicates. [JG03] Test can use TestFileUtils to be more concise. [JG04] Test can use assertEquals(collection1.toString(), collection2.toString()) to make differences easier to spot, rather than the custom assertEquals overload. But probably better to just compare the raw collections and let JUnit display the result how it wants. (It is unpleasant to be informed from a Hudson builder that 3 elements were expected and 4 were found, but not to see what the fourth was.) Thanks Jesse. JG01: Fixed. JG02: Agree, fixed. JG04: Fixed. I will integrate it tomorrow. fixed in jet-main: bbd0ba61323d |