package sfstat;

public class Entry 
{
	private String entry;

	public Entry(String line)
	{
		setEntry(line);
	}
	public void setEntry(String line)
	{
		int next = findFirstComma(line);
		this.entry = line.substring(0, next);
	}
	public String getEntry()
	{
		return entry;
	}
	public static int findFirstComma(String line)
	{
		int count = 0;
		while (line.charAt(count) != ',')
		{
			count++;
		}
		return count;
	}
}

@@ -8,19 +8,17 @@
  sfstat;
-%0D%0A%0D
+%0A
 %0Apublic 
@@ -33,12 +33,10 @@
 try 
-%0D
 %0A%7B
-%0D
 %0A%09pr
@@ -58,11 +58,9 @@
 try;
-%0D%0A%0D
+%0A
 %0A%09pu
@@ -82,21 +82,19 @@
 ng line)
-%0D
 %0A%09%7B
-%0D
 %0A%09%09setEn
@@ -103,21 +103,19 @@
 y(line);
-%0D
 %0A%09%7D
-%0D
 %0A%09public
@@ -137,29 +137,27 @@
 String line)
-%0D
 %0A%09%7B
-%0D
 %0A%09%09int next 
@@ -179,17 +179,16 @@
 a(line);
-%0D
 %0A%09%09this.
@@ -219,21 +219,19 @@
 , next);
-%0D
 %0A%09%7D
-%0D
 %0A%09public
@@ -248,21 +248,19 @@
 tEntry()
-%0D
 %0A%09%7B
-%0D
 %0A%09%09retur
@@ -267,21 +267,19 @@
 n entry;
-%0D
 %0A%09%7D
-%0D
 %0A%09public
@@ -321,13 +321,11 @@
 ine)
-%0D
 %0A%09%7B
-%0D
 %0A%09%09i
@@ -337,17 +337,16 @@
 unt = 0;
-%0D
 %0A%09%09while
@@ -377,14 +377,12 @@
 ',')
-%0D
 %0A%09%09%7B
-%0D
 %0A%09%09%09
@@ -393,14 +393,12 @@
 t++;
-%0D
 %0A%09%09%7D
-%0D
 %0A%09%09r
@@ -413,13 +413,11 @@
 unt;
-%0D
 %0A%09%7D
-%0D
+ 
 %0A%7D
-%0D
 %0A

Format changes.