diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/TextPiece.java b/src/scratchpad/src/org/apache/poi/hwpf/model/TextPiece.java index d833072a1..a09d9eabc 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/model/TextPiece.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/model/TextPiece.java @@ -35,9 +35,6 @@ public class TextPiece extends PropertyNode implements Comparable /** * @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 diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/TextPieceTable.java b/src/scratchpad/src/org/apache/poi/hwpf/model/TextPieceTable.java index cb1364546..ad8e4fe11 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/model/TextPieceTable.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/model/TextPieceTable.java @@ -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 @@ public class TextPieceTable } 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++)