| Summary: | CDOTransactionImpl#getTransactionHandlers() throws NPE instead of returning an empty array | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Cyril Jaquier <cyril.jaquier> | ||||||
| Component: | cdo.core | Assignee: | Eike Stepper <stepper> | ||||||
| Status: | CLOSED FIXED | QA Contact: | Eike Stepper <stepper> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | ||||||||
| Version: | 4.1 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Cyril Jaquier
Mmmhhh... I guess this method returned null instead of an empty array in previous versions. Created attachment 198374 [details]
Fix NPE. Return an empty array instead of throwing a NPE.
My previous comment about transactionHandlers1 and transactionHandlers2 being null is wrong. It is transactionHandlersX.get() that returns null.
1) The number of lines that you added/changed is smaller than 250. confirmed 2) You are the only author of these changed lines. confirmed 3) You apply the EPL to these changed lines. confirmed Moving all open problem reports to 4.0 Created attachment 199161 [details]
Patch v2
This patch is now workspace rooted.
Committed revision 8608: - trunk/plugins/org.eclipse.emf.cdo Resolved for 4.1 Closing. |