Make fields final for DBusSignal classes
This commit is contained in:
		
							parent
							
								
									063f2fb294
								
							
						
					
					
						commit
						0287272a3b
					
				@ -41,11 +41,11 @@ public interface Signal extends DBusInterface {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    class MessageReceived extends DBusSignal {
 | 
					    class MessageReceived extends DBusSignal {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        private long timestamp;
 | 
					        private final long timestamp;
 | 
				
			||||||
        private String sender;
 | 
					        private final String sender;
 | 
				
			||||||
        private byte[] groupId;
 | 
					        private final byte[] groupId;
 | 
				
			||||||
        private String message;
 | 
					        private final String message;
 | 
				
			||||||
        private List<String> attachments;
 | 
					        private final List<String> attachments;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public MessageReceived(String objectpath, long timestamp, String sender, byte[] groupId, String message, List<String> attachments) throws DBusException {
 | 
					        public MessageReceived(String objectpath, long timestamp, String sender, byte[] groupId, String message, List<String> attachments) throws DBusException {
 | 
				
			||||||
            super(objectpath, timestamp, sender, groupId, message, attachments);
 | 
					            super(objectpath, timestamp, sender, groupId, message, attachments);
 | 
				
			||||||
@ -79,8 +79,8 @@ public interface Signal extends DBusInterface {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    class ReceiptReceived extends DBusSignal {
 | 
					    class ReceiptReceived extends DBusSignal {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        private long timestamp;
 | 
					        private final long timestamp;
 | 
				
			||||||
        private String sender;
 | 
					        private final String sender;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public ReceiptReceived(String objectpath, long timestamp, String sender) throws DBusException {
 | 
					        public ReceiptReceived(String objectpath, long timestamp, String sender) throws DBusException {
 | 
				
			||||||
            super(objectpath, timestamp, sender);
 | 
					            super(objectpath, timestamp, sender);
 | 
				
			||||||
@ -99,12 +99,12 @@ public interface Signal extends DBusInterface {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    class SyncMessageReceived extends DBusSignal {
 | 
					    class SyncMessageReceived extends DBusSignal {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        private long timestamp;
 | 
					        private final long timestamp;
 | 
				
			||||||
        private String source;
 | 
					        private final String source;
 | 
				
			||||||
        private String destination;
 | 
					        private final String destination;
 | 
				
			||||||
        private byte[] groupId;
 | 
					        private final byte[] groupId;
 | 
				
			||||||
        private String message;
 | 
					        private final String message;
 | 
				
			||||||
        private List<String> attachments;
 | 
					        private final List<String> attachments;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public SyncMessageReceived(String objectpath, long timestamp, String source, String destination, byte[] groupId, String message, List<String> attachments) throws DBusException {
 | 
					        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);
 | 
					            super(objectpath, timestamp, source, destination, groupId, message, attachments);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user