There was an error while loading. Please reload this page.
1 parent ea78062 commit 2a19201Copy full SHA for 2a19201
1 file changed
.junie/guidelines.md
@@ -5,3 +5,18 @@
5
- `DbcImageTool` renders time series of CANPacket into image
6
- `ChartImage` encapsulates a BufferedImage for rendering charts
7
- `AutoFormatReader` universal trace reader
8
+
9
+### Code Style
10
+Always use curly braces for `if` statements.
11
12
+Correct:
13
+```java
14
+if (customStartBit == -1 || customLength <= 0) {
15
+ return false;
16
+}
17
+```
18
19
+Incorrect:
20
21
+if (customStartBit == -1 || customLength <= 0) return false;
22
0 commit comments