This repository has been archived by the owner on Mar 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unused code and change code indentation to 2 spaces.
- Loading branch information
Showing
2 changed files
with
12 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 12 additions & 12 deletions
24
src/main/java/com/alexfu/sqlitequerybuilder/builder/JoinType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
package com.alexfu.sqlitequerybuilder.builder; | ||
|
||
public enum JoinType { | ||
JOIN("JOIN"), | ||
CROSS_JOIN("CROSS JOIN"), | ||
LEFT_OUTER_JOIN("LEFT OUTER JOIN"), | ||
NATURAL_JOIN("NATURAL JOIN"), | ||
NATURAL_LEFT_OUTER_JOIN("NATURAL LEFT OUTER JOIN"); | ||
JOIN("JOIN"), | ||
CROSS_JOIN("CROSS JOIN"), | ||
LEFT_OUTER_JOIN("LEFT OUTER JOIN"), | ||
NATURAL_JOIN("NATURAL JOIN"), | ||
NATURAL_LEFT_OUTER_JOIN("NATURAL LEFT OUTER JOIN"); | ||
|
||
private final String sql; | ||
private final String sql; | ||
|
||
JoinType(String sql) { | ||
this.sql = sql; | ||
} | ||
JoinType(String sql) { | ||
this.sql = sql; | ||
} | ||
|
||
public final String toSQL() { | ||
return sql; | ||
} | ||
public final String toSQL() { | ||
return sql; | ||
} | ||
} |