From 4e433000eb9bfcacd440d7f7e003d00c80bf000e Mon Sep 17 00:00:00 2001 From: Konloch Date: Wed, 21 Aug 2024 10:06:21 -0600 Subject: [PATCH] General Refactoring --- .../the/bytecode/club/bytecodeviewer/BytecodeViewer.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/BytecodeViewer.java b/src/main/java/the/bytecode/club/bytecodeviewer/BytecodeViewer.java index 11cdeb91..2c146c6a 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/BytecodeViewer.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/BytecodeViewer.java @@ -291,10 +291,9 @@ public class BytecodeViewer viewer.requestFocus(); //open files from launch args - if (!cli) - if (launchArgs.length >= 1) - for (String s : launchArgs) - openFiles(new File[]{new File(s)}, true); + if (!cli && launchArgs.length >= 1) + for (String s : launchArgs) + openFiles(new File[]{new File(s)}, true); } /**