diff --git a/src/main/java/com/loafle/overflow/crawler/result/OFResultSetRow.java b/src/main/java/com/loafle/overflow/crawler/result/OFResultSetRow.java index 63407b7..64d5602 100644 --- a/src/main/java/com/loafle/overflow/crawler/result/OFResultSetRow.java +++ b/src/main/java/com/loafle/overflow/crawler/result/OFResultSetRow.java @@ -88,7 +88,8 @@ public class OFResultSetRow extends OFResultSet{ for (int i =0 ; i< arrayColumns.size() ; ++i) { // replace String k = "$" + i; - String replaceString = data.get(this.meta.get(arrayColumns.get(i))); + int dataIndex = this.meta.get(arrayColumns.get(i); + String replaceString = data.get(dataIndex); metric = metric.replace(k,"'" + replaceString + "'"); }