From 934973ece53fec7f290d37dfab1bfa72b6760f9f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 20 Nov 2024 01:47:22 +0000 Subject: [PATCH] reformat --- .../discdd/bundletransport/BundleTransportActivity.java | 2 +- .../java/net/discdd/bundletransport/UsbFileManager.java | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/BundleTransport/app/src/main/java/net/discdd/bundletransport/BundleTransportActivity.java b/BundleTransport/app/src/main/java/net/discdd/bundletransport/BundleTransportActivity.java index fa8efd534e..41c584c5b4 100644 --- a/BundleTransport/app/src/main/java/net/discdd/bundletransport/BundleTransportActivity.java +++ b/BundleTransport/app/src/main/java/net/discdd/bundletransport/BundleTransportActivity.java @@ -176,7 +176,7 @@ private void updateTabs(Boolean satisfied) { newFragments.add(storageFragment); newFragments.add(logFragment); if (usbExists) { - newFragments.add(usbFrag); + newFragments.add(usbFrag); } } else { logger.log(INFO, "ONLY PERMISSIONS TAB IS BEING SHOWN"); diff --git a/BundleTransport/app/src/main/java/net/discdd/bundletransport/UsbFileManager.java b/BundleTransport/app/src/main/java/net/discdd/bundletransport/UsbFileManager.java index c9993940ac..759d47de93 100644 --- a/BundleTransport/app/src/main/java/net/discdd/bundletransport/UsbFileManager.java +++ b/BundleTransport/app/src/main/java/net/discdd/bundletransport/UsbFileManager.java @@ -54,12 +54,11 @@ public boolean populateUsb() throws IOException { usbTransportDir.mkdirs(); usbTransportToServerDir.mkdirs(); usbTransportToClientDir.mkdirs(); - } - else { - if(!usbTransportToServerDir.exists()) { + } else { + if (!usbTransportToServerDir.exists()) { usbTransportToServerDir.mkdirs(); } - if(!usbTransportToClientDir.exists()) { + if (!usbTransportToClientDir.exists()) { usbTransportToClientDir.mkdirs(); } }