fixed Row logic
This commit is contained in:
parent
b62b0e0f2e
commit
a4928ba964
|
@ -58,6 +58,7 @@ public class OFResultSetRow extends OFResultSet{
|
|||
|
||||
for (List<String> row : this.rows) {
|
||||
String key = makeKey(row);
|
||||
if(key == null) continue;
|
||||
returnMap.put(key,row.get(this.meta.get(valueColumn)));
|
||||
}
|
||||
|
||||
|
@ -86,6 +87,10 @@ public class OFResultSetRow extends OFResultSet{
|
|||
if (find == true) {break;}
|
||||
}
|
||||
|
||||
if(findIndex < 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
String metric = metrics.get(findIndex).getMetric();
|
||||
|
||||
if (arrayColumns != null) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user