Fix checkstyle errors

This commit is contained in:
Manuel Fuhr 2022-07-11 07:03:00 +02:00
parent 4e0dcbd0bf
commit f8d6aa7906
4 changed files with 15 additions and 15 deletions

View file

@ -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();

View file

@ -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) {
}
}
}