mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-05 17:25:10 +00:00
format code: blank lines
This commit is contained in:
@@ -1,18 +1,19 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2015 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.
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.helpers;
|
||||
|
||||
import com.jpexs.decompiler.flash.helpers.Freed;
|
||||
@@ -33,10 +34,15 @@ import java.util.WeakHashMap;
|
||||
public class Cache<K, V> implements Freed {
|
||||
|
||||
private Map<K, V> cache;
|
||||
|
||||
private static final List<Cache> instances = new ArrayList<>();
|
||||
|
||||
public static final int STORAGE_FILES = 1;
|
||||
|
||||
public static final int STORAGE_MEMORY = 2;
|
||||
|
||||
private final boolean weak;
|
||||
|
||||
private final String name;
|
||||
|
||||
static {
|
||||
|
||||
Reference in New Issue
Block a user