mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 19:31:12 +00:00
Remove unnecessary 'final' keywords
This commit is contained in:
parent
36d03232e1
commit
b05005d568
1 changed files with 4 additions and 4 deletions
|
@ -207,13 +207,13 @@ public class Tutorial5 extends Activity implements SurfaceHolder.Callback, OnSee
|
|||
// The text widget acts as an slave for the seek bar, so it reflects what the seek bar shows, whether
|
||||
// it is an actual pipeline position or the position the user is currently dragging to.
|
||||
private void updateTimeWidget () {
|
||||
final TextView tv = (TextView) this.findViewById(R.id.textview_time);
|
||||
final SeekBar sb = (SeekBar) this.findViewById(R.id.seek_bar);
|
||||
final int pos = sb.getProgress();
|
||||
TextView tv = (TextView) this.findViewById(R.id.textview_time);
|
||||
SeekBar sb = (SeekBar) this.findViewById(R.id.seek_bar);
|
||||
int pos = sb.getProgress();
|
||||
|
||||
SimpleDateFormat df = new SimpleDateFormat("HH:mm:ss");
|
||||
df.setTimeZone(TimeZone.getTimeZone("UTC"));
|
||||
final String message = df.format(new Date (pos)) + " / " + df.format(new Date (duration));
|
||||
String message = df.format(new Date (pos)) + " / " + df.format(new Date (duration));
|
||||
tv.setText(message);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue