Skip to content

Commit 18a0693

Browse files
committed
Merge origin/master
2 parents 5931045 + 2c0f2ff commit 18a0693

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,23 @@ This will produce the jsqlparser-VERSION.jar file in the target/ directory.
7171

7272
**To build this project without using Maven, one has to build the parser by JavaCC using the CLI options it provids.**
7373

74+
## Source Code conventions
75+
76+
Recently a checkstyle process was integrated into the build process. JSqlParser follows the sun java format convention. There are no TABs allowed. Use spaces.
77+
78+
```java
79+
public void setUsingSelect(SubSelect usingSelect) {
80+
this.usingSelect = usingSelect;
81+
if (this.usingSelect != null) {
82+
this.usingSelect.setUseBrackets(false);
83+
}
84+
}
85+
```
86+
87+
This is a valid piece of source code:
88+
* blocks without braces are not allowed
89+
* after control statements (if, while, for) a whitespace is expected
90+
* the opening brace should be in the same line as the control statement
7491

7592
## Maven Repository
7693

0 commit comments

Comments
 (0)