diff --git a/application/src/main/java/net/corda/v5/application/messaging/FlowSessionConfiguration.java b/application/src/main/java/net/corda/v5/application/messaging/FlowSessionConfiguration.java index bbc8be4da4..8c832ec410 100644 --- a/application/src/main/java/net/corda/v5/application/messaging/FlowSessionConfiguration.java +++ b/application/src/main/java/net/corda/v5/application/messaging/FlowSessionConfiguration.java @@ -5,7 +5,7 @@ /** * Flow session configuration. Instances should be created using {@link Builder}. */ -public class FlowSessionConfiguration { +public final class FlowSessionConfiguration { private final boolean requireClose; private final Duration timeout; @@ -22,7 +22,7 @@ public Duration getTimeout() { return timeout; } - public static class Builder { + public static final class Builder { private boolean requireClose = true; private Duration timeout;