You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by gl...@apache.org on 2004/08/26 05:26:33 UTC
cvs commit: jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/model TextPiece.java TextPieceTable.java
glens 2004/08/25 20:26:33
Modified: src/scratchpad/src/org/apache/poi/hwpf/model TextPiece.java
TextPieceTable.java
Log:
Minor formatting
Revision Changes Path
1.6 +0 -3 jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/model/TextPiece.java
Index: TextPiece.java
===================================================================
RCS file: /home/cvs/jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/model/TextPiece.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- TextPiece.java 24 Aug 2004 12:53:59 -0000 1.5
+++ TextPiece.java 26 Aug 2004 03:26:33 -0000 1.6
@@ -35,9 +35,6 @@
/**
* @param start Offset in main document stream.
- * @param length The total length of the text in bytes. Note: 1 character
- * does not necessarily refer to 1 byte.
- * @param unicode true if this text is unicode.
*/
public TextPiece(int start, int end, byte[] text, PieceDescriptor pd, int cpStart)
throws UnsupportedEncodingException
1.6 +6 -8 jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/model/TextPieceTable.java
Index: TextPieceTable.java
===================================================================
RCS file: /home/cvs/jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/model/TextPieceTable.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- TextPieceTable.java 24 Aug 2004 12:53:59 -0000 1.5
+++ TextPieceTable.java 26 Aug 2004 03:26:33 -0000 1.6
@@ -18,15 +18,13 @@
package org.apache.poi.hwpf.model;
-import java.io.UnsupportedEncodingException;
-import java.io.IOException;
-
-import java.util.List;
-import java.util.ArrayList;
-
+import org.apache.poi.hwpf.model.io.HWPFOutputStream;
import org.apache.poi.poifs.common.POIFSConstants;
-import org.apache.poi.hwpf.model.io.*;
+import java.io.IOException;
+import java.io.UnsupportedEncodingException;
+import java.util.ArrayList;
+import java.util.List;
/**
* @author Ryan Ackley
@@ -66,7 +64,7 @@
}
int firstPieceFilePosition = pieces[0].getFilePosition();
- _cpMin = firstPieceFilePosition - fcMin;
+ _cpMin = firstPieceFilePosition - fcMin;
// using the PieceDescriptors, build our list of TextPieces.
for (int x = 0; x < pieces.length; x++)
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org