Closed ghost closed 13 years ago
I have no idea how the compiler allows this, but using an inlined if-else statement of: (index == null ? null : index.intValue());
it is possible for getFieldIndex to return null if the fieldName given is unknown.
Fixed. Method returns INVALID_INDEX (int == -1) instead of null.
I have no idea how the compiler allows this, but using an inlined if-else statement of: (index == null ? null : index.intValue());
it is possible for getFieldIndex to return null if the fieldName given is unknown.