Enable modernizer in openflow-protocol-impl 15/94415/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 5 Jan 2021 17:09:18 +0000 (18:09 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 5 Jan 2021 17:10:29 +0000 (18:10 +0100)
commit2497ae3e02ccc274ec775556f407eaadaa80d16e
treeba408ebf1d9953e206c57a66a09211839034bb87
parent393b5d51fda62b42f60d1908bead20e2478c3e5b
Enable modernizer in openflow-protocol-impl

Modernizer is only flagging a misuse of MoreObjects.firstNonNull(),
replace the call sites with Objects.requireNonNull() and flip
enforcement on.

Change-Id: I825538398ebff463e606a337353a5cc6565506ee
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
openflowjava/openflow-protocol-impl/pom.xml
openflowjava/openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/SwitchConnectionProviderFactoryImpl.java