diff options
author | PJ Fanning <fanningpj@apache.org> | 2022-07-16 20:12:56 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2022-07-16 20:12:56 +0000 |
commit | 46b14041bf1fd3eaf298bac69bf1927b65459d1e (patch) | |
tree | ddec274b317bd88ce25b81451f657972b27bdcb3 /poi-scratchpad | |
parent | d849809f229d95b8531e13fa80c8b347c9a26aeb (diff) | |
download | poi-46b14041bf1fd3eaf298bac69bf1927b65459d1e.tar.gz poi-46b14041bf1fd3eaf298bac69bf1927b65459d1e.zip |
java 17 compile issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902783 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-scratchpad')
-rw-r--r-- | poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSoundData.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSoundData.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSoundData.java index 10b299cf4f..ff948fd69e 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSoundData.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSoundData.java @@ -74,12 +74,11 @@ public final class HSLFSoundData { */ public static HSLFSoundData[] find(Document document){ ArrayList<HSLFSoundData> lst = new ArrayList<>(); - org.apache.poi.hslf.record.Record[] ch = document.getChildRecords(); - for (Record value : ch) { + for (org.apache.poi.hslf.record.Record value : document.getChildRecords()) { if (value.getRecordType() == RecordTypes.SoundCollection.typeID) { RecordContainer col = (RecordContainer) value; - Record[] sr = col.getChildRecords(); - for (Record record : sr) { + org.apache.poi.hslf.record.Record[] sr = col.getChildRecords(); + for (org.apache.poi.hslf.record.Record record : sr) { if (record instanceof Sound) { lst.add(new HSLFSoundData((Sound) record)); } |