[jsword-svn] common/java/core/org/crosswire/common/util s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Sun Jan 8 17:52:21 MST 2006
Update of /cvs/jsword/common/java/core/org/crosswire/common/util
In directory www.crosswire.org:/tmp/cvs-serv18709/java/core/org/crosswire/common/util
Modified Files:
WebResource.java
Log Message:
Fixed a release bug.
Finished the BookCategory implementation.
Index: WebResource.java
===================================================================
RCS file: /cvs/jsword/common/java/core/org/crosswire/common/util/WebResource.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** WebResource.java 10 Sep 2005 09:07:17 -0000 1.2
--- WebResource.java 9 Jan 2006 00:52:19 -0000 1.3
***************
*** 135,141 ****
byte[] buf = new byte[4096];
! for (int count = 0; -1 != (count = in.read(buf)); )
{
out.write(buf, 0, count);
}
}
--- 135,143 ----
byte[] buf = new byte[4096];
! int count = in.read(buf);
! while (-1 != count)
{
out.write(buf, 0, count);
+ count = in.read(buf);
}
}
More information about the jsword-svn
mailing list