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 145026

Summary: Fix API documentation on BaseDocument
Product: editor Reporter: Samaresh Panda <samaresh>
Component: -- Other --Assignee: Vitezslav Stejskal <vstejskal>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 114747    

Description Samaresh Panda 2008-08-25 16:10:18 UTC
API documentatio on the new constructor says:

    addToRegistry - XXX You probabaly want to pass true.
    mimeType - The mime type for the document.

The API should be very clear about the first parameter. It is not clear what this means and why it is needed. Why should
I pass true?
Comment 1 Vitezslav Stejskal 2008-08-25 16:43:14 UTC
735d77636eba
Comment 2 Samaresh Panda 2008-08-25 17:31:25 UTC
I'm sorry, I can't find this changeset (http://hg.netbeans.org/main/rev/735d77636eba). Can you please send me the right
link. I want to know the change so that I could fix my issue.
Comment 3 Quality Engineering 2008-08-26 05:58:58 UTC
Integrated into 'main-golden', available in build *200808260201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/735d77636eba
User: Vita Stejskal <vstejskal@netbeans.org>
Log: #145026: javadoc and imports
Comment 4 Vitezslav Stejskal 2008-08-26 10:42:11 UTC
Can you find it now?