mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-09 10:19:41 +02:00
Enable MissingJavadocPackage and UnnecessaryParentheses checkstyle checks
This commit is contained in:
parent
2ac452fe1e
commit
4ca2c7cc69
76 changed files with 120 additions and 131 deletions
|
@ -113,7 +113,7 @@ public abstract class FileBasedOmemoStore<T_IdKeyPair, T_IdKey, T_PreKey, T_SigP
|
|||
SortedSet<Integer> deviceIds = new TreeSet<>();
|
||||
File userDir = hierarchy.getUserDirectory(localUser);
|
||||
File[] list = userDir.listFiles();
|
||||
for (File d : (list != null ? list : new File[] {})) {
|
||||
for (File d : list != null ? list : new File[] {}) {
|
||||
if (d.isDirectory()) {
|
||||
try {
|
||||
deviceIds.add(Integer.parseInt(d.getName()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue