Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Mechanical code cleanup (commons)
[controller.git]
/
opendaylight
/
commons
/
protocol-framework
/
src
/
test
/
java
/
org
/
opendaylight
/
protocol
/
framework
/
ServerTest.java
diff --git
a/opendaylight/commons/protocol-framework/src/test/java/org/opendaylight/protocol/framework/ServerTest.java
b/opendaylight/commons/protocol-framework/src/test/java/org/opendaylight/protocol/framework/ServerTest.java
index 6c4af0186f911a672902a2e7ad941d5791b95938..331e94949e2506a470ad31dae5de31cb12d256f3 100644
(file)
--- a/
opendaylight/commons/protocol-framework/src/test/java/org/opendaylight/protocol/framework/ServerTest.java
+++ b/
opendaylight/commons/protocol-framework/src/test/java/org/opendaylight/protocol/framework/ServerTest.java
@@
-277,7
+277,7
@@
public class ServerTest {
}
};
}
}
};
}
- }, new DefaultPromise<
SimpleSession
>(GlobalEventExecutor.INSTANCE), eventLoopGroup);
+ }, new DefaultPromise<>(GlobalEventExecutor.INSTANCE), eventLoopGroup);
final ReconnectStrategyFactory reconnectStrategyFactory = mock(ReconnectStrategyFactory.class);
final ReconnectStrategy reconnectStrategy = getMockedReconnectStrategy();
final ReconnectStrategyFactory reconnectStrategyFactory = mock(ReconnectStrategyFactory.class);
final ReconnectStrategy reconnectStrategy = getMockedReconnectStrategy();
@@
-303,7
+303,7
@@
public class ServerTest {
final Channel channel, final Promise<SimpleSession> promise) {
return new SimpleSessionNegotiator(promise, channel);
}
final Channel channel, final Promise<SimpleSession> promise) {
return new SimpleSessionNegotiator(promise, channel);
}
- }, new DefaultPromise<
SimpleSession
>(GlobalEventExecutor.INSTANCE), eventLoopGroup);
+ }, new DefaultPromise<>(GlobalEventExecutor.INSTANCE), eventLoopGroup);
}
private ReconnectStrategy getMockedReconnectStrategy() throws Exception {
}
private ReconnectStrategy getMockedReconnectStrategy() throws Exception {