From fbf9a9697464e378708ffb15835ef2d61055b592 Mon Sep 17 00:00:00 2001 From: snoop Date: Tue, 25 Apr 2017 17:24:13 +0900 Subject: [PATCH] ing resultsetcol --- .../com/loafle/overflow/crawler/result/OFResultSetCol.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/loafle/overflow/crawler/result/OFResultSetCol.java b/src/main/java/com/loafle/overflow/crawler/result/OFResultSetCol.java index 5d22826..7f9100b 100644 --- a/src/main/java/com/loafle/overflow/crawler/result/OFResultSetCol.java +++ b/src/main/java/com/loafle/overflow/crawler/result/OFResultSetCol.java @@ -21,10 +21,10 @@ public class OFResultSetCol extends OFResultSet{ List meta = this.item.getQuery().getKeys(); - String[] columns = (String[])this.item.getQuery().getQueryInfo().get("arrayColumns"); + List arrayColumns = (List)this.item.getQuery().getQueryInfo().get("arrayColumns"); - for( int indexI = 0 ; indexI < columns.length; ++indexI) { - meta.add(columns[indexI]); + for( int indexI = 0 ; indexI < arrayColumns.size(); ++indexI) { + meta.add(arrayColumns.get(indexI)); } if(this.meta == null) {