diff options
Diffstat (limited to 'src/java/org/apache/poi/hssf/model/LinkTable.java')
-rw-r--r-- | src/java/org/apache/poi/hssf/model/LinkTable.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/java/org/apache/poi/hssf/model/LinkTable.java b/src/java/org/apache/poi/hssf/model/LinkTable.java index 3e12384e9d..0dc7f53eb9 100644 --- a/src/java/org/apache/poi/hssf/model/LinkTable.java +++ b/src/java/org/apache/poi/hssf/model/LinkTable.java @@ -96,7 +96,7 @@ final class LinkTable { public ExternalBookBlock(RecordStream rs) { _externalBookRecord = (SupBookRecord) rs.getNext(); - List<Object> temp = new ArrayList<Object>(); + List<Object> temp = new ArrayList<>(); while(rs.peekNextClass() == ExternalNameRecord.class) { temp.add(rs.getNext()); } @@ -191,7 +191,7 @@ final class LinkTable { _workbookRecordList = workbookRecordList; RecordStream rs = new RecordStream(inputList, startIndex); - List<ExternalBookBlock> temp = new ArrayList<ExternalBookBlock>(); + List<ExternalBookBlock> temp = new ArrayList<>(); while(rs.peekNextClass() == SupBookRecord.class) { temp.add(new ExternalBookBlock(rs)); } @@ -212,7 +212,7 @@ final class LinkTable { _externSheetRecord = null; } - _definedNames = new ArrayList<NameRecord>(); + _definedNames = new ArrayList<>(); // collect zero or more DEFINEDNAMEs id=0x18, // with their comments if present while(true) { @@ -235,7 +235,7 @@ final class LinkTable { } private static ExternSheetRecord readExtSheetRecord(RecordStream rs) { - List<ExternSheetRecord> temp = new ArrayList<ExternSheetRecord>(2); + List<ExternSheetRecord> temp = new ArrayList<>(2); while(rs.peekNextClass() == ExternSheetRecord.class) { temp.add((ExternSheetRecord) rs.getNext()); } @@ -258,7 +258,7 @@ final class LinkTable { public LinkTable(int numberOfSheets, WorkbookRecordList workbookRecordList) { _workbookRecordList = workbookRecordList; - _definedNames = new ArrayList<NameRecord>(); + _definedNames = new ArrayList<>(); _externalBookBlocks = new ExternalBookBlock[] { new ExternalBookBlock(numberOfSheets), }; |