Skip to content

Commit cc9db89

Browse files
committed
clean: add comment on String PV handling
1 parent 0f12619 commit cc9db89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/display/representation-javafx/src/main/java/org/csstudio/display/builder/representation/javafx/widgets/AutoCompleteRepresentation.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ private Object parseValue(String value) {
414414
try {
415415
return value.contains(".") ? Double.parseDouble(value) : Integer.parseInt(value);
416416
} catch (NumberFormatException e) {
417+
// This will handle String PVs, which are expected to be most likely
417418
VType converted = VType.toVType(value);
418419
return converted != null ? converted : value;
419420
}

0 commit comments

Comments
 (0)