Skip to content
This repository was archived by the owner on Dec 29, 2025. It is now read-only.

Commit bc39562

Browse files
authored
Remove Logger error logging in FileUtils
Removed Logger error logging from copy methods.
1 parent 8b0b79d commit bc39562

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/id.my.alvinq.appcopy/FileUtils.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import java.nio.file.*;
55
import java.nio.file.attribute.BasicFileAttributes;
66
import android.widget.Toast;
7-
import org.levimc.launcher.util.Logger;
87
import java.io.PrintWriter;
98
import java.io.StringWriter;
109
import java.lang.reflect.InvocationTargetException;
@@ -22,7 +21,6 @@ public static void copyFile(String from, String to) {
2221
} catch (Exception e) {
2322
Throwable real = (e instanceof InvocationTargetException) ? ((InvocationTargetException) e).getCause() : e;
2423
String errorLog = getStackTraceAsString(real);
25-
Logger.get().error("Error!: " + errorLog);
2624
}
2725
}
2826

@@ -50,7 +48,6 @@ public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IO
5048
} catch (Exception e) {
5149
Throwable real = (e instanceof InvocationTargetException) ? ((InvocationTargetException) e).getCause() : e;
5250
String errorLog = getStackTraceAsString(real);
53-
Logger.get().error("Error!: " + errorLog);
5451
}
5552
}
5653
}

0 commit comments

Comments
 (0)