Permalink
Browse files

Merge short lines in Execution

  • Loading branch information...
gvlasov committed Jun 22, 2015
1 parent 0341bd2 commit eb0ac2a82670fbc3e67f25a123701854aae4bf14
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/main/java/com/jcabi/ssh/Execution.java
@@ -122,8 +122,7 @@ public int exec() throws IOException {
* @return Exit code (zero in case of success)
* @throws IOException If fails
*/
private int exec(final ChannelExec channel)
throws IOException {
private int exec(final ChannelExec channel) throws IOException {
try {
return this.code(channel);
} finally {
@@ -138,8 +137,7 @@ private int exec(final ChannelExec channel)
* @throws IOException If some IO problem inside
*/
@SuppressWarnings("PMD.AvoidCatchingGenericException")
private int code(final ChannelExec exec)
throws IOException {
private int code(final ChannelExec exec) throws IOException {
while (!exec.isClosed()) {
try {
this.session.sendKeepAliveMsg();

0 comments on commit eb0ac2a

Please sign in to comment.