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
assign no_height
switch and not maxheight=
lesser v:maxheight my_height true
false
lesser v:maxheight my_height true
false
*/
if (operator.startsWith("v:")) {
String name = operator.substring(2);

View file

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

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