Closed luke-shields closed 1 year ago
Currently, the hasValue function with Utils.java calls hasLongValue when the datatype is 7 (uint32).
This does not align with the Google Protobuf Language Guide which states that uint32 Protobuf values map to an Int type in Java.
https://protobuf.dev/programming-guides/proto3/ (Under 'Scalar Value Types')
This PR fixes this.
Fix covered in improved manner in PR: https://github.com/eclipse-sparkplug/sparkplug/pull/469
Currently, the hasValue function with Utils.java calls hasLongValue when the datatype is 7 (uint32).
This does not align with the Google Protobuf Language Guide which states that uint32 Protobuf values map to an Int type in Java.
https://protobuf.dev/programming-guides/proto3/ (Under 'Scalar Value Types')
This PR fixes this.