Inline NetconfServerSessionNegotiatorFactoryBuilder 47/108647/4
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 24 Oct 2023 21:13:07 +0000 (23:13 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 26 Oct 2023 14:25:53 +0000 (16:25 +0200)
commit6b99771dc01b8082a713940389e695c7667b16b4
tree171edf845f26c6d0314bca90c2f6985e3316c177
parentd5ad82ef1f01bd868758aaa651049f5b09bbf259
Inline NetconfServerSessionNegotiatorFactoryBuilder

Make the builder static inline class for the entity being built,
cleaning up the namespace a bit. This allows us to inline
transformCapabilities(), as it is only used in the builder.

JIRA: NETCONF-1106
Change-Id: Id22438e6212188f19c85ccb74d9d0d5077c2c84c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
apps/netconf-nb/src/main/java/org/opendaylight/netconf/northbound/OSGiNetconfServer.java
protocol/netconf-server/src/main/java/org/opendaylight/netconf/server/NetconfServerSessionNegotiatorFactory.java
protocol/netconf-server/src/main/java/org/opendaylight/netconf/server/NetconfServerSessionNegotiatorFactoryBuilder.java [deleted file]
protocol/netconf-server/src/test/java/org/opendaylight/netconf/server/ConcurrentClientsTest.java