From bfff10c65e2c8c327cf1b20cbb67d3cf7c6ade5b Mon Sep 17 00:00:00 2001 From: Marten Lohstroh Date: Sat, 1 Jul 2023 17:32:24 -0700 Subject: [PATCH] Rename `TimeValue.NEVER()` to `TimeValue.never()` --- .../java/org/lflang/federated/extensions/TSExtension.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/lflang/federated/extensions/TSExtension.java b/core/src/main/java/org/lflang/federated/extensions/TSExtension.java index 884b40fbb4..c32b9f8977 100644 --- a/core/src/main/java/org/lflang/federated/extensions/TSExtension.java +++ b/core/src/main/java/org/lflang/federated/extensions/TSExtension.java @@ -207,7 +207,7 @@ private List getUpstreamConnectionDelays(FederateInstance federate) { if (delays != null) { for (Expression delay : delays) { if (delay == null) { - element += "TimeValue.NEVER()"; + element += "TimeValue.never()"; } else { element += "TimeValue.nsec(" + getNetworkDelayLiteral(delay) + ")"; } @@ -217,7 +217,7 @@ private List getUpstreamConnectionDelays(FederateInstance federate) { } } } else { - element += "TimeValue.NEVER()"; + element += "TimeValue.never()"; } element += "]"; candidates.add(element);