Commit 6bc902756bf86c2da95f381dc9a2cdd166e98395
Committed by
Andrew Shvayka
1 parent
e70df09b
Code cleaning after review
Showing
1 changed file
with
4 additions
and
8 deletions
... | ... | @@ -17,7 +17,6 @@ package org.thingsboard.server.common.data.query; |
17 | 17 | |
18 | 18 | import com.fasterxml.jackson.annotation.JsonIgnore; |
19 | 19 | import lombok.Data; |
20 | -import lombok.Getter; | |
21 | 20 | import lombok.RequiredArgsConstructor; |
22 | 21 | |
23 | 22 | @Data |
... | ... | @@ -27,17 +26,14 @@ public class DynamicValue<T> { |
27 | 26 | @JsonIgnore |
28 | 27 | private T resolvedValue; |
29 | 28 | |
29 | + private final DynamicValueSourceType sourceType; | |
30 | + private final String sourceAttribute; | |
31 | + private final boolean inherit; | |
32 | + | |
30 | 33 | public DynamicValue(DynamicValueSourceType sourceType, String sourceAttribute) { |
31 | 34 | this.sourceAttribute = sourceAttribute; |
32 | 35 | this.sourceType = sourceType; |
33 | 36 | this.inherit = false; |
34 | 37 | } |
35 | 38 | |
36 | - @Getter | |
37 | - private final DynamicValueSourceType sourceType; | |
38 | - @Getter | |
39 | - private final String sourceAttribute; | |
40 | - @Getter | |
41 | - private final boolean inherit; | |
42 | - | |
43 | 39 | } | ... | ... |