Skip to content

Commit

Permalink
Clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
FongMi committed Jan 13, 2025
1 parent bed334f commit 3bcc7ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/src/main/java/com/fongmi/android/tv/utils/Clock.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ public class Clock {

private SimpleDateFormat format;
private Callback callback;
private final Date date;
private TextView view;
private Timer timer;
private Date date;

public static Clock create() {
return new Clock();
Expand Down Expand Up @@ -69,7 +69,6 @@ public Clock stop() {
}

public void release() {
if (date != null) date = null;
if (timer != null) timer.cancel();
if (callback != null) callback = null;
}
Expand Down

0 comments on commit 3bcc7ee

Please sign in to comment.