Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Remove netconf from commons/opendaylight pom
[controller.git]
/
opendaylight
/
netconf
/
netconf-ssh
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
netconf
/
netty
/
EchoClient.java
diff --git
a/opendaylight/netconf/netconf-ssh/src/test/java/org/opendaylight/controller/netconf/netty/EchoClient.java
b/opendaylight/netconf/netconf-ssh/src/test/java/org/opendaylight/controller/netconf/netty/EchoClient.java
index b768e2b1d1ce08d8cef9585c538837157405bdc6..bdaee7957d277ef7bff5c9aafb81e1e0fcd85cb5 100644
(file)
--- a/
opendaylight/netconf/netconf-ssh/src/test/java/org/opendaylight/controller/netconf/netty/EchoClient.java
+++ b/
opendaylight/netconf/netconf-ssh/src/test/java/org/opendaylight/controller/netconf/netty/EchoClient.java
@@
-26,7
+26,7
@@
import org.slf4j.LoggerFactory;
* the server.
*/
public class EchoClient extends Thread {
* the server.
*/
public class EchoClient extends Thread {
- private static final Logger
logger
= LoggerFactory.getLogger(EchoClient.class);
+ private static final Logger
LOG
= LoggerFactory.getLogger(EchoClient.class);
private final ChannelInitializer<LocalChannel> channelInitializer;
private final ChannelInitializer<LocalChannel> channelInitializer;
@@
-63,11
+63,11
@@
public class EchoClient extends Thread {
// Wait until the connection is closed.
f.channel().closeFuture().sync();
} catch (Exception e) {
// Wait until the connection is closed.
f.channel().closeFuture().sync();
} catch (Exception e) {
-
logger
.error("Error in client", e);
+
LOG
.error("Error in client", e);
throw new RuntimeException("Error in client", e);
} finally {
// Shut down the event loop to terminate all threads.
throw new RuntimeException("Error in client", e);
} finally {
// Shut down the event loop to terminate all threads.
-
logger
.info("Client is shutting down");
+
LOG
.info("Client is shutting down");
group.shutdownGracefully();
}
}
group.shutdownGracefully();
}
}