global: Fix or suppress most lints/warnings

Signed-off-by: Samuel Holland <samuel@sholland.org>
This commit is contained in:
Samuel Holland
2018-01-08 23:39:26 -06:00
parent dd69a2e778
commit 4f02817ef0
18 changed files with 47 additions and 40 deletions
@@ -59,7 +59,8 @@ public class TunnelEditorFragment extends BaseFragment {
binding.setConfig(localConfig);
}
private void onConfigSaved(final Config config, final Throwable throwable) {
private void onConfigSaved(@SuppressWarnings("unused") final Config config,
final Throwable throwable) {
final String message;
if (throwable == null) {
message = getString(R.string.config_save_success, localTunnel.getName());