reformat RouteServer again
This commit is contained in:
parent
5c970ed71f
commit
cebcd566c6
2 changed files with 16 additions and 12 deletions
|
@ -3,6 +3,7 @@ root = true
|
||||||
[*]
|
[*]
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
[*.java]
|
[*.java]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
|
|
@ -264,15 +264,18 @@ public class RouteServer extends Thread implements Comparable<RouteServer> {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
} finally {
|
} finally {
|
||||||
cr = null;
|
cr = null;
|
||||||
if (br != null) try {
|
if (br != null)
|
||||||
|
try {
|
||||||
br.close();
|
br.close();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
}
|
}
|
||||||
if (bw != null) try {
|
if (bw != null)
|
||||||
|
try {
|
||||||
bw.close();
|
bw.close();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
}
|
}
|
||||||
if (clientSocket != null) try {
|
if (clientSocket != null)
|
||||||
|
try {
|
||||||
clientSocket.close();
|
clientSocket.close();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue