-
Notifications
You must be signed in to change notification settings - Fork 27
Feature/morf 72 extra audit fields #275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| * @return The statements required to deploy the table and its indexes. | ||
| */ | ||
| public Collection<String> tableDeploymentStatements(Table table) { | ||
| Builder<String> statements = ImmutableList.<String>builder(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unnecessary type
| view.getName() + | ||
| " AS (" + | ||
| convertStatementToSQL(view.getSelectStatement()) + | ||
| ")"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unnecessary StringBuilder.
| result.append(" ").append(defaultNullOrder()); | ||
|
|
||
| return result.toString().trim(); | ||
| return (getSqlFrom(currentOrderByField) + " " + defaultNullOrder()).trim(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unnecessary StringBuilder.
| // MySql supports no ON criteria and ON TRUE, but the other platforms | ||
| // don't, so just keep things simple. | ||
| result.append(String.format(" ON 1=1")); | ||
| result.append(" ON 1=1"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove redundant String.format
| * Produce SQL for getting the row number of the row in the partition | ||
| * | ||
| * @return a string representation of the SQL for finding the last day of the month. | ||
| * @return a string representation of the SQL for getting the row number of the row in the partition. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous change had cut and pasted the wrong JavaDocs without updating it.
| * @param addColumn instance of {@link AddColumn} to visit. | ||
| */ | ||
| public void visit(AddColumn addColumn); | ||
| void visit(AddColumn addColumn); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove redundant public modifier from interface
|
SonarCloud Quality Gate failed.
|










No description provided.