mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Make fields final for DBusSignal classes
This commit is contained in:
parent
063f2fb294
commit
0287272a3b
1 changed files with 13 additions and 13 deletions
|
@ -41,11 +41,11 @@ public interface Signal extends DBusInterface {
|
|||
|
||||
class MessageReceived extends DBusSignal {
|
||||
|
||||
private long timestamp;
|
||||
private String sender;
|
||||
private byte[] groupId;
|
||||
private String message;
|
||||
private List<String> attachments;
|
||||
private final long timestamp;
|
||||
private final String sender;
|
||||
private final byte[] groupId;
|
||||
private final String message;
|
||||
private final List<String> attachments;
|
||||
|
||||
public MessageReceived(String objectpath, long timestamp, String sender, byte[] groupId, String message, List<String> attachments) throws DBusException {
|
||||
super(objectpath, timestamp, sender, groupId, message, attachments);
|
||||
|
@ -79,8 +79,8 @@ public interface Signal extends DBusInterface {
|
|||
|
||||
class ReceiptReceived extends DBusSignal {
|
||||
|
||||
private long timestamp;
|
||||
private String sender;
|
||||
private final long timestamp;
|
||||
private final String sender;
|
||||
|
||||
public ReceiptReceived(String objectpath, long timestamp, String sender) throws DBusException {
|
||||
super(objectpath, timestamp, sender);
|
||||
|
@ -99,12 +99,12 @@ public interface Signal extends DBusInterface {
|
|||
|
||||
class SyncMessageReceived extends DBusSignal {
|
||||
|
||||
private long timestamp;
|
||||
private String source;
|
||||
private String destination;
|
||||
private byte[] groupId;
|
||||
private String message;
|
||||
private List<String> attachments;
|
||||
private final long timestamp;
|
||||
private final String source;
|
||||
private final String destination;
|
||||
private final byte[] groupId;
|
||||
private final String message;
|
||||
private final List<String> attachments;
|
||||
|
||||
public SyncMessageReceived(String objectpath, long timestamp, String source, String destination, byte[] groupId, String message, List<String> attachments) throws DBusException {
|
||||
super(objectpath, timestamp, source, destination, groupId, message, attachments);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue