# HG changeset patch # User Carl Byington # Date 1735678686 25200 # Node ID 304a8d5ad1e615a2439b9e56acd3b51dcf712f1a # Parent 693ba231479833c66ffc1836b31feb364219faac add debug code around deleting the connections file diff -r 693ba2314798 -r 304a8d5ad1e6 app/src/main/java/com/five_ten_sg/connectbot/HostListActivity.java --- a/app/src/main/java/com/five_ten_sg/connectbot/HostListActivity.java Tue Dec 31 13:50:47 2024 -0700 +++ b/app/src/main/java/com/five_ten_sg/connectbot/HostListActivity.java Tue Dec 31 13:58:06 2024 -0700 @@ -28,7 +28,7 @@ import java.io.BufferedReader; import java.io.FileReader; import java.io.File; -import java.nio.file.Files; +import java.nio.file.*; import java.util.HashMap; import java.util.List; @@ -625,7 +625,7 @@ if (del) { Log.d(TAG, "try to delete " + fn); - Files.delete(fn); + Files.delete(Paths.get(fn)); Log.d(TAG, "deleted " + fn); } }