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: | ServerInstance representation in the API | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Petr Hejl <phejl> |
Component: | Infrastructure | Assignee: | Petr Hejl <phejl> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | apireviews |
Priority: | P2 | Keywords: | API, API_REVIEW_FAST |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 133751 | ||
Attachments: |
proposed change
updated patch (getServerInstance null check) |
Description
Petr Hejl
2008-05-19 15:13:13 UTC
Attaching proposed change. Created attachment 61671 [details]
proposed change
EM01: Shouldn't Deployment#getServerInstance(String) check for null, even if it is not a legal parameter? Looks like passing a null would result to InstanceRemovedException when invoking methods on the returned ServerInstance, which could be rather confusing. Re EM01: You are absolutely right about that. Fixed in following patch. Created attachment 61745 [details]
updated patch (getServerInstance null check)
If there are no objections, I'll push this tomorrow. Fixed in abfdb8bc2994. Integrated into 'main-golden', available in NB_Trunk_Production #234 build Changeset: http://hg.netbeans.org/main/rev/abfdb8bc2994 User: phejl@netbeans.org Log: #135324 ServerInstance representation in the API |