1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-29 15:51:17 +00:00

Remove unused import (#35)

This commit is contained in:
Catfriend1 2018-08-25 23:30:47 +02:00 committed by GitHub
parent c44996012a
commit 640d7f1e02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -416,8 +416,9 @@ public class SyncthingRunnable implements Runnable {
* Only keep last {@link #LOG_FILE_MAX_LINES} lines in log file, to avoid bloat.
*/
private void trimLogFile() {
if (!mLogFile.exists())
if (!mLogFile.exists()) {
return;
}
try {
LineNumberReader lnr = new LineNumberReader(new FileReader(mLogFile));

View file

@ -19,7 +19,6 @@ import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
import java.io.BufferedReader;
import java.io.File;
import java.io.InputStreamReader;
import java.io.IOException;