Skip to content

Commit

Permalink
Merge pull request #529 from icraggs-sparkplug/develop
Browse files Browse the repository at this point in the history
Sparkplug UInt32 metrics are long in Java
  • Loading branch information
wes-johnson authored Jan 13, 2025
2 parents 9ec6e45 + 332e65e commit 764b2e5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2022 Anja Helmbrecht-Schaar, Ian Craggs
* Copyright (c) 2022, 2024 Anja Helmbrecht-Schaar, Ian Craggs
* <p>
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
Expand Down Expand Up @@ -163,9 +163,9 @@ public static boolean hasValidDatatype(Metric m) {
case Int32:
case UInt8:
case UInt16:
case UInt32:
expectedValueCase = Metric.ValueCase.INT_VALUE;
break;
case UInt32: // all integers in Java are signed
case Int64:
case UInt64:
case DateTime:
Expand Down

0 comments on commit 764b2e5

Please sign in to comment.