Author: nextgens
Date: 2007-04-20 20:18:05 +0000 (Fri, 20 Apr 2007)
New Revision: 12825
Modified:
trunk/freenet/src/freenet/support/SimpleFieldSet.java
Log:
It's not a bug but a feature :$
Modified: trunk/freenet/src/freenet/support/SimpleFieldSet.java
===================================================================
--- trunk/freenet/src/freenet/support/SimpleFieldSet.java 2007-04-20
20:15:17 UTC (rev 12824)
+++ trunk/freenet/src/freenet/support/SimpleFieldSet.java 2007-04-20
20:18:05 UTC (rev 12825)
@@ -108,7 +108,7 @@
String line = br.readLine();
if(line == null) {
if(firstLine) throw new EOFException();
- return;
+ throw new IOException(); // No end marker!
}
firstLine = false;
int index = line.indexOf('=');