Skip to content

Commit 443b422

Browse files
committed
style: declare lock statement fields before nested types
Signed-off-by: minleejae <mmj9808@gmail.com>
1 parent c8ef0c1 commit 443b422

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/main/java/net/sf/jsqlparser/statement/lock/LockStatement.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@
2424
*/
2525
public class LockStatement implements Statement {
2626

27+
private final List<Target> targets = new ArrayList<>();
28+
private boolean useTableKeyword = true;
29+
private LockMode lockMode;
30+
private boolean noWait;
31+
private Long waitSeconds;
32+
2733
public enum Scope {
2834
DEFAULT, ONLY, INCLUDING_DESCENDANTS
2935
}
@@ -59,12 +65,6 @@ public String toString() {
5965
}
6066
}
6167

62-
private final List<Target> targets = new ArrayList<>();
63-
private boolean useTableKeyword = true;
64-
private LockMode lockMode;
65-
private boolean noWait;
66-
private Long waitSeconds;
67-
6868
public LockStatement() {}
6969

7070
/**

0 commit comments

Comments
 (0)