[ad_1]
I can see one thing that is wrong:
if (record.length < nameToMatch.length()) {
return false;
}
you are comparing a number of bytes with a number of characters.
0
[ad_2]
solved Can anyone help with a Java problem?
[ad_1]
I can see one thing that is wrong:
if (record.length < nameToMatch.length()) {
return false;
}
you are comparing a number of bytes with a number of characters.
0
[ad_2]
solved Can anyone help with a Java problem?