result set
This commit is contained in:
parent
20a5664794
commit
488086b8d2
|
@ -43,7 +43,7 @@ public abstract class OFResultSet {
|
||||||
// methods
|
// methods
|
||||||
static public OFResultSet newInstance(Item item) {
|
static public OFResultSet newInstance(Item item) {
|
||||||
String type = (String) item.getQuery().getQueryInfo().get("parseDirection");
|
String type = (String) item.getQuery().getQueryInfo().get("parseDirection");
|
||||||
if (type.equals("row")) {
|
if (type != null && type.equals("row")) {
|
||||||
return new OFResultSetRow(item);
|
return new OFResultSetRow(item);
|
||||||
} else {
|
} else {
|
||||||
return new OFResultSetCol(item);
|
return new OFResultSetCol(item);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user