Mentions légales du service

Skip to content
Snippets Groups Projects

Resolve "Lossy conversion"

Merged Redford StopCovid requested to merge 10-lossy-conversion into develop
1 file
+ 6
1
Compare changes
  • Side-by-side
  • Inline
@@ -14,10 +14,18 @@ import lombok.ToString;
@Builder
public class HelloMessageDetail {
/**
* WARNING: Since Java does not support unsigned int, we are obligated to store the value coming from the JSON representation
* as a Long even though it should be used as an unsigned int.
*/
@NotNull
@ToString.Exclude
private Long timeCollectedOnDevice;
/**
* WARNING: Since Java does not support unsigned short, we are obligated to store the value coming from the JSON
* representation as an Integer even though it should be used as an unsigned short.
*/
@NotNull
@ToString.Exclude
private Integer timeFromHelloMessage;
Loading