1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-21 22:02:06 +01:00

[im] Update DirectoryRosterStore TODO note regarding Android API 26.

This commit is contained in:
Florian Schmaus 2021-01-06 13:48:49 +01:00
parent 40aa9e87b7
commit 65d7c1c1b8

View file

@ -183,7 +183,7 @@ public final class DirectoryRosterStore implements RosterStore {
private static Item readEntry(File file) { private static Item readEntry(File file) {
Reader reader; Reader reader;
try { try {
// TODO: Should use Files.newBufferedReader() but it is not available on Android. // TODO: Use Files.newBufferedReader() once Smack's minimum Android API level is 26 or higher.
reader = new FileReader(file); reader = new FileReader(file);
} catch (FileNotFoundException e) { } catch (FileNotFoundException e) {
LOGGER.log(Level.FINE, "Roster entry file not found", e); LOGGER.log(Level.FINE, "Roster entry file not found", e);