Commit 611995121b48f89550a50e6e54a8e11fadc5f2c2

Authored by Volodymyr Babak
1 parent 8abb5738

Code review fixes

@@ -15,15 +15,14 @@ @@ -15,15 +15,14 @@
15 */ 15 */
16 package org.thingsboard.server.extensions.api.device; 16 package org.thingsboard.server.extensions.api.device;
17 17
  18 +import lombok.AllArgsConstructor;
18 import lombok.Getter; 19 import lombok.Getter;
19 import lombok.ToString; 20 import lombok.ToString;
20 import org.thingsboard.server.common.data.id.DeviceId; 21 import org.thingsboard.server.common.data.id.DeviceId;
21 import org.thingsboard.server.common.data.id.TenantId; 22 import org.thingsboard.server.common.data.id.TenantId;
22 23
23 -/**  
24 - * @author Andrew Shvayka  
25 - */  
26 @ToString 24 @ToString
  25 +@AllArgsConstructor
27 public class DeviceNameOrTypeUpdateMsg implements ToDeviceActorNotificationMsg { 26 public class DeviceNameOrTypeUpdateMsg implements ToDeviceActorNotificationMsg {
28 27
29 @Getter 28 @Getter
@@ -34,11 +33,4 @@ public class DeviceNameOrTypeUpdateMsg implements ToDeviceActorNotificationMsg { @@ -34,11 +33,4 @@ public class DeviceNameOrTypeUpdateMsg implements ToDeviceActorNotificationMsg {
34 private final String deviceName; 33 private final String deviceName;
35 @Getter 34 @Getter
36 private final String deviceType; 35 private final String deviceType;
37 -  
38 - public DeviceNameOrTypeUpdateMsg(TenantId tenantId, DeviceId deviceId, String deviceName, String deviceType) {  
39 - this.tenantId = tenantId;  
40 - this.deviceId = deviceId;  
41 - this.deviceName = deviceName;  
42 - this.deviceType = deviceType;  
43 - }  
44 } 36 }