Mercurial > 510Connectbot
comparison src/com/five_ten_sg/connectbot/transport/Local.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 |
comparison
equal
deleted
inserted
replaced
111:6a0ad4d384ea | 112:77ac18bc1b2f |
---|---|
101 | 101 |
102 | 102 |
103 @Override | 103 @Override |
104 public boolean willBlock() { | 104 public boolean willBlock() { |
105 if (is == null) return true; | 105 if (is == null) return true; |
106 | |
106 try { | 107 try { |
107 return is.available() == 0; | 108 return is.available() == 0; |
108 } catch (Exception e) { | 109 } |
110 catch (Exception e) { | |
109 return true; | 111 return true; |
110 } | 112 } |
111 } | 113 } |
112 | 114 |
113 @Override | 115 @Override |