From d25a2ee843e6c9d9c2401415a69373c879996c61 Mon Sep 17 00:00:00 2001 From: "jackdaw@loafle.com" Date: Tue, 25 Apr 2017 17:41:22 +0900 Subject: [PATCH] result set --- .../com/loafle/overflow/crawler/result/OFResultSetRow.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 + "'"); }