Why is the non-primitive version returning `null` instead of the default value? 
I see, that returning `null` when the function should return a primitive is 
stupid, but the java default value for primitives is `0`, so that would be 
consistent.

Additional question: There are five other primitives: `byte`, `char`, `short`, 
`long`, `float` - shouldn't they be covered too?

[ Full content available at: 
https://github.com/apache/incubator-netbeans/pull/895 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to