Hello XI Experts,
I have an input for mapping like this:
);
}
}
Here, a[] corresponds to STATUS and c[] corresponds to VALUE. b[0] is a constant which has the check value 03. Our arrays will be like this;
a[0] = 01, a[1] = 02, a[2] = 03, a[3] = 04
b[0] = 03
c[0] = AAA, c[1] = CCC, c[2] = DDD
Here, if the target VALUE is at last position (STATUS=04), the function will cause OutOfBoundException error. Because it will try to return c[3] which is not present. Beside this, in our example the function will return VALUE=DDD for STATUS=03 which is not correct.
Do you have any opinion?
Thanks, regards.
Ibrahim GUNDUZ