From: Wolfgang M. M. <wol...@us...> - 2004-06-29 14:46:03
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/dom In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2192/src/org/exist/dom Modified Files: DocumentImpl.java Log Message: Removed extra byte stored for debugging. Index: DocumentImpl.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/dom/DocumentImpl.java,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** DocumentImpl.java 29 Jun 2004 14:26:48 -0000 1.46 --- DocumentImpl.java 29 Jun 2004 14:45:52 -0000 1.47 *************** *** 672,676 **** final VariableByteOutputStream ostream = new VariableByteOutputStream(7); try { - ostream.writeByte(DOCUMENT_NODE_SIGNATURE); if(children > 0) { for(int i = 0; i < children; i++) { --- 672,675 ---- *************** *** 696,704 **** try { byte signature = istream.readByte(); ! if(signature != DOCUMENT_NODE_SIGNATURE) { ! LOG.error("Could not read document metadata for document " + fileName + ! " ( " + docId + "): not a metadata node."); ! return; ! } childList = new long[children]; for (int i = 0; i < children; i++) { --- 695,703 ---- try { byte signature = istream.readByte(); ! // if(signature != DOCUMENT_NODE_SIGNATURE) { ! // LOG.error("Could not read document metadata for document " + fileName + ! // " ( " + docId + "): not a metadata node."); ! // return; ! // } childList = new long[children]; for (int i = 0; i < children; i++) { |