Fix merge

This commit is contained in:
Clément Fournier
2020-05-01 16:20:05 +02:00
parent fed55b0725
commit 301cb8ca33
2 changed files with 5 additions and 24 deletions

View File

@ -4,22 +4,13 @@
package net.sourceforge.pmd.lang.plsql.ast;
import net.sourceforge.pmd.annotation.InternalApi;
public class ASTFetchStatement extends AbstractPLSQLNode {
public final class ASTFetchStatement extends AbstractPLSQLNode {
private boolean bulkcollect;
private boolean limit;
@Deprecated
@InternalApi
public ASTFetchStatement(int id) {
super(id);
}
@Deprecated
@InternalApi
public ASTFetchStatement(PLSQLParser p, int id) {
super(p, id);
ASTFetchStatement(int id) {
super(id);
}
void setBulkCollect(boolean bulkcollect) {

View File

@ -4,26 +4,16 @@
package net.sourceforge.pmd.lang.plsql.ast;
import net.sourceforge.pmd.annotation.InternalApi;
public class ASTSqlStatement extends AbstractPLSQLNode {
public final class ASTSqlStatement extends AbstractPLSQLNode {
private Type type;
public enum Type { COMMIT, ROLLBACK, SAVEPOINT, SET_TRANSACTION, LOCK_TABLE, MERGE }
@Deprecated
@InternalApi
public ASTSqlStatement(int id) {
ASTSqlStatement(int id) {
super(id);
}
@Deprecated
@InternalApi
public ASTSqlStatement(PLSQLParser p, int id) {
super(p, id);
}
void setType(Type type) {
this.type = type;
}