Fix checkstyle errors
This commit is contained in:
parent
4e0dcbd0bf
commit
f8d6aa7906
4 changed files with 15 additions and 15 deletions
|
|
@ -259,17 +259,17 @@ public class RouteServer extends Thread implements Comparable<RouteServer> {
|
|||
} finally {
|
||||
cr = null;
|
||||
if (br != null) try {
|
||||
br.close();
|
||||
} catch (Exception e) {
|
||||
}
|
||||
br.close();
|
||||
} catch (Exception e) {
|
||||
}
|
||||
if (bw != null) try {
|
||||
bw.close();
|
||||
} catch (Exception e) {
|
||||
}
|
||||
bw.close();
|
||||
} catch (Exception e) {
|
||||
}
|
||||
if (clientSocket != null) try {
|
||||
clientSocket.close();
|
||||
} catch (Exception e) {
|
||||
}
|
||||
clientSocket.close();
|
||||
} catch (Exception e) {
|
||||
}
|
||||
terminated = true;
|
||||
synchronized (threadPoolSync) {
|
||||
threadPoolSync.notifyAll();
|
||||
|
|
|
|||
|
|
@ -59,9 +59,9 @@ public class ProfileUploadHandler {
|
|||
response.write(toJSON(responseData));
|
||||
} finally {
|
||||
if (fileWriter != null) try {
|
||||
fileWriter.close();
|
||||
} catch (Exception e) {
|
||||
}
|
||||
fileWriter.close();
|
||||
} catch (Exception e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue