Skip to content

Commit

Permalink
add missing override annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
tbischoff2 committed Nov 4, 2024
1 parent cda3598 commit dcbaa37
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public Variant convert(TypedValue<?> value, NodeId targetType) throws ValueConve
}
});
register(Datatype.DURATION, Identifiers.Double, new OpcUaToAasValueConverter() {
@Override
public TypedValue<?> convert(Variant value, Datatype targetType) throws ValueConversionException {
if (Objects.isNull(value) || value.isNull()) {
return null;
Expand All @@ -78,11 +79,13 @@ public TypedValue<?> convert(Variant value, Datatype targetType) throws ValueCon
}
});
register(Datatype.HEX_BINARY, Identifiers.ByteString, new OpcUaToAasValueConverter() {
@Override
public TypedValue<?> convert(Variant value, Datatype targetType) throws ValueConversionException {
return convertByteString(value, targetType);
}
});
register(Datatype.BASE64_BINARY, Identifiers.ByteString, new OpcUaToAasValueConverter() {
@Override
public TypedValue<?> convert(Variant value, Datatype targetType) throws ValueConversionException {
return convertByteString(value, targetType);
}
Expand Down

0 comments on commit dcbaa37

Please sign in to comment.