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) {