Remove some warning in Main/Planner/Value (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076853 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -30,9 +30,9 @@ public final class Main {
|
||||
}
|
||||
}
|
||||
|
||||
private static final void run(SQLStatement statement, Planner planner) {
|
||||
private static final void run(SQLStatement<?> statement, Planner<?, ?, ?, ?, ?, ?, ?> planner) {
|
||||
System.err.println(statement);
|
||||
SQLPlan plan = planner.plan(statement);
|
||||
SQLPlan<?> plan = planner.plan(statement);
|
||||
System.err.println("\tplan=" + plan);
|
||||
}
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ public abstract class Planner<P extends Planner<P, C, D, I, S, U, V>, C, D exten
|
||||
}
|
||||
}
|
||||
|
||||
public SQLPlan<?> plan(SQLStatement statement) {
|
||||
public SQLPlan<?> plan(SQLStatement<?> statement) {
|
||||
if (statement instanceof SQLDelete) return planDelete((SQLDelete) statement);
|
||||
if (statement instanceof SQLInsert) return planInsert((SQLInsert) statement);
|
||||
if (statement instanceof SQLSelect) return planSelect((SQLSelect) statement);
|
||||
|
||||
@@ -40,7 +40,7 @@ public abstract class Value extends Atom {
|
||||
void visit(FunctionCall value);
|
||||
void visit(MathValue value);
|
||||
void visit(Null value);
|
||||
void visit(NumberValue value);
|
||||
void visit(NumberValue<?> value);
|
||||
void visit(ParameterValue value);
|
||||
void visit(StringValue value);
|
||||
void visit(CountAllFunction value);
|
||||
@@ -62,7 +62,7 @@ public abstract class Value extends Atom {
|
||||
public void visit(Null value) {
|
||||
}
|
||||
|
||||
public void visit(NumberValue value) {
|
||||
public void visit(NumberValue<?> value) {
|
||||
}
|
||||
|
||||
public void visit(ParameterValue value) {
|
||||
|
||||
Reference in New Issue
Block a user