refactor: Reformat Code with chome NS code style !!!

too lazy to export it somewhere, if you need it feel free to ask me
This commit is contained in:
ChomeNS
2025-04-01 09:58:31 +07:00
parent 156a5af47f
commit 90323d3552
151 changed files with 1226 additions and 1095 deletions

View File

@@ -46,7 +46,7 @@ public class SongLoaderThread extends Thread {
private boolean isFolder = false;
public SongLoaderThread(URL location, Bot bot, String requester) {
public SongLoaderThread (URL location, Bot bot, String requester) {
this.bot = bot;
this.requester = requester;
isUrl = true;
@@ -55,7 +55,7 @@ public class SongLoaderThread extends Thread {
fileName = location.getFile();
}
public SongLoaderThread(Path location, Bot bot, String requester) {
public SongLoaderThread (Path location, Bot bot, String requester) {
this.bot = bot;
this.requester = requester;
isUrl = false;
@@ -123,7 +123,7 @@ public class SongLoaderThread extends Thread {
try {
song = converter.getSongFromBytes(bytes, name, bot);
} catch (Exception ignored) {}
} catch (Exception ignored) { }
}
if (song == null) {