Fixed lombok
This commit is contained in:
parent
0151467b2e
commit
be5ab5b4b3
2 changed files with 4 additions and 2 deletions
|
@ -7,9 +7,11 @@ import javax.persistence.Enumerated;
|
||||||
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.NotNull;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
public class SensorSaveRequest {
|
public class SensorSaveRequest {
|
||||||
/** The type of this sensor */
|
/** The type of this sensor */
|
||||||
@NotNull
|
@NotNull
|
||||||
|
|
|
@ -22,8 +22,8 @@ public class SensorSaveRequestTests {
|
||||||
@Test
|
@Test
|
||||||
@DisplayName("test setRoomId")
|
@DisplayName("test setRoomId")
|
||||||
public void testSetRoomId() {
|
public void testSetRoomId() {
|
||||||
sensor.setRoomId(42l);
|
sensor.setRoomId(42L);
|
||||||
assertEquals(42l, sensor.getRoomId());
|
assertEquals(42L, sensor.getRoomId());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in a new issue