mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-08 19:46:10 +01:00
Fix Android Studio lint warnings
This commit is contained in:
parent
d1977479bd
commit
406438e391
2 changed files with 2 additions and 2 deletions
|
|
@ -186,7 +186,7 @@ public final class BackgroundJob {
|
||||||
if (interpreter != null) result.add(interpreter);
|
if (interpreter != null) result.add(interpreter);
|
||||||
result.add(fileToExecute);
|
result.add(fileToExecute);
|
||||||
if (args != null) Collections.addAll(result, args);
|
if (args != null) Collections.addAll(result, args);
|
||||||
return result.toArray(new String[result.size()]);
|
return result.toArray(new String[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -666,7 +666,7 @@ public final class TermuxActivity extends Activity implements ServiceConnection
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
final CharSequence[] urls = urlSet.toArray(new CharSequence[urlSet.size()]);
|
final CharSequence[] urls = urlSet.toArray(new CharSequence[0]);
|
||||||
Collections.reverse(Arrays.asList(urls)); // Latest first.
|
Collections.reverse(Arrays.asList(urls)); // Latest first.
|
||||||
|
|
||||||
// Click to copy url to clipboard:
|
// Click to copy url to clipboard:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue