small fixes, unused code removed

This commit is contained in:
honfika@gmail.com
2014-11-16 21:03:17 +01:00
parent 6d3974db53
commit ef34bb535b
5 changed files with 6 additions and 96 deletions

View File

@@ -2209,9 +2209,9 @@ public class SWFInputStream implements AutoCloseable {
* @throws IOException
*/
public List<FILTER> readFILTERLIST(String name) throws IOException {
List<FILTER> ret = new ArrayList<>();
newDumpLevel(name, "FILTERLIST");
int numberOfFilters = readUI8("numberOfFilters");
List<FILTER> ret = new ArrayList<>(numberOfFilters);
for (int i = 0; i < numberOfFilters; i++) {
ret.add(readFILTER("filter"));
}