Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
wumpz committed Nov 20, 2021
1 parent 98b66be commit fce5b99
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/net/sf/jsqlparser/schema/Sequence.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public Sequence withDatabase(Database database) {
setDatabase(database);
return this;
}

public String getSchemaName() {
return getIndex(SCHEMA_IDX);
}
Expand Down Expand Up @@ -176,6 +176,7 @@ public enum ParameterType {
* Represents a parameter when declaring a sequence
*/
public static class Parameter {

private final ParameterType option;
private Long value;

Expand All @@ -198,7 +199,7 @@ public String formatParameter() {
case START_WITH:
return prefix("START WITH");
case RESTART_WITH:
if(value != null){
if (value != null) {
return prefix("RESTART WITH");
} else {
return "RESTART";
Expand Down

0 comments on commit fce5b99

Please sign in to comment.