2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-10-03 13:07:42 +00:00

Make final where possible

This commit is contained in:
Nicolas Fella
2018-10-27 00:01:30 +02:00
parent a49a145d69
commit e1096f5bc8
29 changed files with 54 additions and 53 deletions

View File

@@ -349,7 +349,7 @@ public class MainActivity extends AppCompatActivity {
void onNameChanged(String newName);
}
private Set<NameChangeCallback> nameChangeSubscribers = new HashSet<>();
private final Set<NameChangeCallback> nameChangeSubscribers = new HashSet<>();
public void addNameChangeCallback(NameChangeCallback cb) {
nameChangeSubscribers.add(cb);