Style: Also check formatting of Java code
@@ -28,6 +28,7 @@ reformat() {
reformat reformat-c &
reformat reformat-cmake &
+reformat reformat-java &
reformat reformat-javascript &
reformat reformat-markdown &
reformat reformat-shell &
@@ -38,7 +39,7 @@ error_message="$(
The reformatting check detected code that **does not** fit the guidelines given in `doc/CODING.md`.
If you see this message on one of the build servers, you can either install one or multiple of the following tools:
-- [`clang-format`](https://clang.llvm.org/docs/ClangFormat.html) to format C and C++ source code,
+- [`clang-format`](https://clang.llvm.org/docs/ClangFormat.html) to format C, C++ and Java source code,
- [`cmake_format`](https://github.com/cheshirekow/cmake_format) to format CMake code,
- [`prettier`](https://prettier.io) to format JavaScript & Markdown code, and
- [`shfmt`](https://github.com/mvdan/sh) to format Shell code
@@ -47,6 +48,7 @@ If you see this message on one of the build servers, you can either install one
- `reformat-c` to format C/C++ source files,
- `reformat-cmake` to format CMake files,
+- `reformat-java` to format Java files,
- `reformat-javascript` to format JavaScript files,
- `reformat-markdown` to format Markdown files, and
- `reformat-shell` to format files that contain shell code
