Minor formatting

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353590 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Glen Stampoultzis 2004-08-26 03:26:33 +00:00
parent 550682d2b3
commit 7d6a1faa18
2 changed files with 6 additions and 11 deletions

View File

@ -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

View File

@ -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++)