Skip to content

Commit

Permalink
global: uniform TAG delcarations
Browse files Browse the repository at this point in the history
  • Loading branch information
mwarning committed Feb 27, 2022
1 parent 24ddf22 commit 7b674bf
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/app/trigger/BluetoothTools.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


public class BluetoothTools {
static final String TAG = "BluetoothTools";
private static final String TAG = "BluetoothTools";
private static BluetoothAdapter adapter;

static void init(Context context) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@


public class CertificateActivity extends AppCompatActivity implements CertificateFetchTask.OnTaskCompleted {
private static final String TAG = "CertificateActivity";
private static final int READ_REQUEST_CODE = 0x01;
private static final int WRITE_REQUEST_CODE = 0x02;
private CertificatePreference preference; // hack
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@


public class HttpsRequestHandler extends Thread {
private static String TAG = "HttpsRequestHandler";
private static final String TAG = "HttpsRequestHandler";
private final OnTaskCompleted listener;
private final HttpsDoorSetup setup;
private final Action action;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* On click, the MqttClientKeypairActivity opens.
*/
public class MqttClientKeyPairPreference extends SwitchPreference {
private static final String TAG = "MqttClientKeyPairPreference";
private KeyPairBean clientKey;
private Context context;
static MqttClientKeyPairPreference self;
Expand Down
1 change: 1 addition & 0 deletions app/src/main/java/app/trigger/mqtt/MqttRequestHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@


public class MqttRequestHandler extends Thread implements MqttCallback {
private static final String TAG = "MqttRequestHandler";
private final OnTaskCompleted listener;
private final MqttDoorSetup setup;
private final Action action;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


class NukiLockActionCallback extends NukiCallback {
static final String TAG = "LockActionCallback";
private static final String TAG = "LockActionCallback";
long auth_id;
long app_id;
int lock_action;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import java.util.Random;

class NukiPairingCallback extends NukiCallback {
static final String TAG = "PairingCallback";
private static final String TAG = "PairingCallback";
NukiDoorSetup setup;
byte[] data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


class NukiReadLockStateCallback extends NukiCallback {
static final String TAG = "ReadLockStateCallback";
private static final String TAG = "ReadLockStateCallback";
long auth_id;
byte[] shared_key;
byte[] data;
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/app/trigger/nuki/NukiRequestHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@


public class NukiRequestHandler extends Thread {
static final String TAG = "NukiRequestHandler";
private static final String TAG = "NukiRequestHandler";
private final OnTaskCompleted listener;
private final NukiDoorSetup setup;
private final Action action;
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/app/trigger/ssh/SshRequestHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@


public class SshRequestHandler extends Thread implements ConnectionMonitor {
private static String TAG = "SshRequestHandler";
private static final String TAG = "SshRequestHandler";
private final OnTaskCompleted listener;
private final SshDoorSetup setup;
private final Action action;
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/app/trigger/ssh/SshTools.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@


public class SshTools {
static final String TAG = "SshTools";
private static final String TAG = "SshTools";

public static String serializeKeyPair(KeyPairBean keypair) {
if (keypair == null) {
Expand Down

0 comments on commit 7b674bf

Please sign in to comment.