I have a JAVA (1.2) program which reads in a file, and after modifying it writes it back out to the same file name. When I run the program a second time I get a zero length record after each line. However if I open the file with an editor, modify it (e.g. add and remove a space) and then save it my program doesn't find any zero length lines. I am using:
BufferedReader is=new BufferedReader(new
Why is this happening?