mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-03 18:44:46 +00:00
small fixes, unused code removed
This commit is contained in:
@@ -648,7 +648,7 @@ public final class SWF implements SWFContainerItem, Timelined {
|
||||
}
|
||||
|
||||
private void findABCTags() {
|
||||
List<ContainerItem> objs = new ArrayList<>();
|
||||
List<ContainerItem> objs = new ArrayList<>(tags.size());
|
||||
objs.addAll(tags);
|
||||
|
||||
ArrayList<ABCContainerTag> newAbcList = new ArrayList<>();
|
||||
|
||||
@@ -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"));
|
||||
}
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash;
|
||||
|
||||
import com.jpexs.helpers.Helper;
|
||||
@@ -61,7 +62,7 @@ public class SWFSearch {
|
||||
}
|
||||
|
||||
public void process() {
|
||||
public void process() {
|
||||
Map<Long, InputStream> ret;
|
||||
ret = s.search(new ProgressListener() {
|
||||
@Override
|
||||
public void progress(int p) {
|
||||
|
||||
Reference in New Issue
Block a user