Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualtom_mai78101

Posted 07 April 2013 - 01:09 PM

Thanks again for your input. I've now fully understood what all of you were saying.

 

I finally got the free time to continue debugging, and it looks like using:

String.startsWith(String prefix);

Is a bad idea. I've changed it to doing:

 

String header = line_read_from_input.split(" ")[0];
header.equals(String prefix);

So it's always correct.

 

Everything is now perfect. Life is good. Thanks to all and all a good night.


#2tom_mai78101

Posted 07 April 2013 - 01:08 PM

Thanks again for your input.

 

I finally got the free time to continue debugging, and it looks like using:

String.startsWith(String prefix);

Is a bad idea. I've changed it to doing:

 

String header = line_read_from_input.split(" ")[0];
header.equals(String prefix);

So it's always correct.

 

Everything is now perfect. Life is good. Thanks to all and all a good night.


#1tom_mai78101

Posted 07 April 2013 - 01:08 PM

Thanks again for your input.

 

I finally got the free time to continue debugging, and it looks like using:

String.startsWith(String prefix);

Is a bad idea. I've changed it to doing:

 

String header = line_read_from_input.split(" ")[0];
header.equals(String prefix);

So it always correct.

 

Everything is now perfect. Life is good. Thanks to all and all a good night.


PARTNERS