Fix a couple of warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@900399 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0e53beb61e
commit
64ee32ec12
@ -62,7 +62,7 @@ public class FormulaViewer
|
||||
{
|
||||
POIFSFileSystem fs =
|
||||
new POIFSFileSystem(new FileInputStream(file));
|
||||
List records =
|
||||
List<Record> records =
|
||||
RecordFactory
|
||||
.createRecords(fs.createDocumentInputStream("Workbook"));
|
||||
|
||||
|
@ -48,6 +48,7 @@ public final class RecordInputStream implements LittleEndianInput {
|
||||
* For use in {@link BiffViewer} which may construct {@link Record}s that don't completely
|
||||
* read all available data. This exception should never be thrown otherwise.
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public static final class LeftoverDataException extends RuntimeException {
|
||||
public LeftoverDataException(int sid, int remainingByteCount) {
|
||||
super("Initialisation of record 0x" + Integer.toHexString(sid).toUpperCase()
|
||||
|
Loading…
Reference in New Issue
Block a user