Mercurial > 510Connectbot
comparison src/com/five_ten_sg/connectbot/transport/SSH.java @ 112:77ac18bc1b2f
cleanup java formatting
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 18 Jun 2014 13:03:01 -0700 |
parents | 139394237973 |
children | 91a31873c42a |
comparison
equal
deleted
inserted
replaced
111:6a0ad4d384ea | 112:77ac18bc1b2f |
---|---|
584 | 584 |
585 | 585 |
586 @Override | 586 @Override |
587 public boolean willBlock() { | 587 public boolean willBlock() { |
588 if (stdout == null) return true; | 588 if (stdout == null) return true; |
589 | |
589 try { | 590 try { |
590 return stdout.available() == 0; | 591 return stdout.available() == 0; |
591 } catch (Exception e) { | 592 } |
593 catch (Exception e) { | |
592 return true; | 594 return true; |
593 } | 595 } |
594 } | 596 } |
595 | 597 |
596 | 598 |