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.

Bug 163987

Summary: [67cat] Javadoc example for ServiceProvider is incorrect
Product: platform Reporter: Michel Graciano <hmichel>
Component: LookupAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: blocker CC: geertjan, jkovalsky, misterm
Priority: P4 Keywords: NETFIX
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Proposed patch

Description Michel Graciano 2009-04-28 23:19:13 UTC
[ BUILD # : 200904270201 ]
[ JDK VERSION : 1.6.* ]

IMO the javadoc should be:
ServiceProvider(service=Thing.class)
instead:
Service(Thing.class)

I will attach an patch soon.

Regards
Comment 1 Michel Graciano 2009-04-28 23:21:39 UTC
Created attachment 81137 [details]
Proposed patch
Comment 2 Michel Graciano 2009-04-28 23:23:41 UTC
Please, may anyone validate if it is correct?
Comment 3 Alexei Mokeev 2009-04-29 07:11:06 UTC
openide.util is tracked by Core team. Reassigning to Platform/documentation for evaluation.
Comment 4 Jiri Kovalsky 2009-05-14 09:53:24 UTC
Tondo, can you possibly integrate this simple patch? Thanks!
Comment 5 Antonin Nebuzelsky 2009-05-19 12:20:59 UTC
Jesse's code. Reassigning.
Comment 6 Jesse Glick 2009-05-19 17:33:31 UTC
core-main #a492b1dde880
Comment 7 Quality Engineering 2009-05-20 07:34:10 UTC
Integrated into 'main-golden', will be available in build *200905200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a492b1dde880
User: Jesse Glick <jglick@netbeans.org>
Log: #163987: Javadoc correction.