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

@ -141,8 +141,8 @@ final class BExpression {
use of variable values use of variable values
assign no_height assign no_height
switch and not maxheight= switch and not maxheight=
lesser v:maxheight my_height true lesser v:maxheight my_height true
false false
*/ */
if (operator.startsWith("v:")) { if (operator.startsWith("v:")) {
String name = operator.substring(2); String name = operator.substring(2);

View file

@ -28,7 +28,7 @@ public class EncodeDecodeTest {
"highway=residential", "highway=residential",
"oneway=yes", "oneway=yes",
"depth=1'6\"", "depth=1'6\"",
// "depth=6 feet", // "depth=6 feet",
"maxheight=5.1m", "maxheight=5.1m",
"maxdraft=~3 mt", "maxdraft=~3 mt",
"reversedirection=yes" "reversedirection=yes"

View file

@ -259,17 +259,17 @@ public class RouteServer extends Thread implements Comparable<RouteServer> {
} 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) {
} }
terminated = true; terminated = true;
synchronized (threadPoolSync) { synchronized (threadPoolSync) {
threadPoolSync.notifyAll(); threadPoolSync.notifyAll();

View file

@ -59,9 +59,9 @@ public class ProfileUploadHandler {
response.write(toJSON(responseData)); response.write(toJSON(responseData));
} finally { } finally {
if (fileWriter != null) try { if (fileWriter != null) try {
fileWriter.close(); fileWriter.close();
} catch (Exception e) { } catch (Exception e) {
} }
} }
} }