> <soup_or_po...@yahoo.com> wrote in message
>
[quoted text clipped - 43 lines]
>
> - Show quoted text -
Since I had to do lot of debugging before zeroing on the working code,
'thought others can comment/benefit from it.
Thanks
Oliver Wong - 08 Feb 2007 19:07 GMT
>> <soup_or_po...@yahoo.com> wrote in message
>> > As I indicated earlier the following code worked:
[quoted text clipped - 13 lines]
> 'thought others can comment/benefit from it.
> Thanks
Ah, okay. I thought you were asking for help about a problem, not
telling others about the problem you fixed. Glad it's settled, then.
- Oliver
Chris Dollin - 09 Feb 2007 08:26 GMT
> Since I had to do lot of debugging before zeroing on the working code,
> 'thought others can comment/benefit from it.
My only-skimmed impression is: no method with that many `continue`s in
it can be right, and even if it's right, it's not maintainable.
(As far as I can see, the code I've written for Jena - a reasonable amount -
has no `continue`s in it /at all/. )

Signature
Chris "electric hedgehog" Dollin
There' no hortage of vowel on Uenet.
Andreas Leitgeb - 09 Feb 2007 14:36 GMT
>> >> public class csv4 {
>> >> public static void main(String[] args) {
[quoted text clipped - 14 lines]
>> >> }
>> >> }
>> > As I indicated earlier the following code worked:
>> > if (Character.isDigit(ssn.charAt(i))) {
[quoted text clipped - 4 lines]
>> > //set flag
>> > }
Now, that's strange. I can't reproduce this difference.
Could you mail me (per email, not post) both the two
csv4.java versions and the two compiled class-files
and also tell me which java-compiler you were using?
Which way did the prog fail?
Did it fail to see some non-digits, or
did it report non-digits when none were there?