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