Skip to content

Commit fe3f54b

Browse files
committed
Convert FileViewerPane workingOn to maple-ir IndexedList
1 parent 32ff02a commit fe3f54b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/club/bytecode/the/jda/gui/fileviewer/FileViewerPane.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import club.bytecode.the.jda.gui.MainViewerGUI;
88
import club.bytecode.the.jda.gui.dialogs.TabbedPane;
99
import club.bytecode.the.jda.gui.navigation.FileNavigationPane;
10+
import org.mapleir.stdlib.util.IndexedList;
1011
import org.objectweb.asm.tree.ClassNode;
1112

1213
import javax.swing.*;
@@ -35,8 +36,7 @@ public class FileViewerPane extends JDAWindow {
3536
JPanel buttonPanel;
3637
public JButton refreshClass;
3738

38-
// todo: once we move to mapleir, we can convert this to an indexedlist!
39-
List<ViewerFile> workingOn = new ArrayList<>();
39+
List<ViewerFile> workingOn = new IndexedList<>();
4040

4141
public FileViewerPane(final FileChangeNotifier fcn) {
4242
super("WorkPanel", "Work Space", Resources.fileNavigatorIcon, (MainViewerGUI) fcn);

0 commit comments

Comments
 (0)