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 223383 - EditorCookie.getOpenedPanes() should be deprecated
Summary: EditorCookie.getOpenedPanes() should be deprecated
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
Keywords: API
Depends on:
Reported: 2012-12-06 10:57 UTC by Petr Jiricka
Modified: 2013-08-30 16:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2012-12-06 10:57:43 UTC
As discussed in bug 186117, EditorCookie.getOpenedPanes() is not recommended, and NbDocument.findRecentEditorPane should be used instead. See comments 13 and 14 of that bug.

So, the getOpenedPanes() method should be deprecated, or there should at least be a comment in javadoc alerting about the performance implications.