comparison app/src/main/java/com/five_ten_sg/connectbot/HostListActivity.java @ 523:775a81a78a2b stable-1.9.4-7

add more debug code
author Carl Byington <carl@five-ten-sg.com>
date Fri, 31 May 2024 18:53:22 -0600
parents 645d22a0e8cb
children
comparison
equal deleted inserted replaced
522:645d22a0e8cb 523:775a81a78a2b
495 if (line.substring(0, 1).equals("#")) continue; // comment 495 if (line.substring(0, 1).equals("#")) continue; // comment
496 496
497 if (!line.contains("://")) continue; // invalid uri 497 if (!line.contains("://")) continue; // invalid uri
498 498
499 Uri uri = Uri.parse(line); 499 Uri uri = Uri.parse(line);
500 String uriline = line; 500 Log.d(TAG, "uri: " + uri.toString());
501 Log.d(TAG, "uriline: " + uriline);
502 Log.d(TAG, "uri 2 str: " + uri.toString());
503 501
504 ContentValues values = null; 502 ContentValues values = null;
505 503
506 while ((line = reader.readLine()) != null) { 504 while ((line = reader.readLine()) != null) {
507 if (line.length() == 0) break; // empty 505 if (line.length() == 0) break; // empty