From bd2db44682829e7fe33550ea7a89a31bcec212a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Wed, 10 Feb 2021 18:23:39 +0100 Subject: [PATCH] BigObject removed as it causes only warnings during compilation and is not used. --- .../com/jpexs/decompiler/flash/BigObject.java | 31 ------------------- .../src/com/jpexs/decompiler/flash/SWF.java | 2 -- 2 files changed, 33 deletions(-) delete mode 100644 libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/BigObject.java diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/BigObject.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/BigObject.java deleted file mode 100644 index b51745638..000000000 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/BigObject.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (C) 2010-2021 JPEXS, All rights reserved. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3.0 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. */ -package com.jpexs.decompiler.flash; - -/** - * - * @author JPEXS - */ -public class BigObject { - - private final byte[] dummy = new byte[512 * 1024 * 1024]; - - @Override - protected void finalize() throws Throwable { - super.finalize(); - System.out.println("swf finalized"); - } -} diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java index 15226e9ef..3e0d91c73 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java @@ -204,8 +204,6 @@ import java.util.zip.InflaterInputStream; */ public final class SWF implements SWFContainerItem, Timelined { - // big object for testing cleanup - //BigObject bigObj = new BigObject(); /** * Default version of SWF file format */