Permalink
Browse files

fix params list

  • Loading branch information...
Rebecca Taft
Rebecca Taft committed Apr 15, 2014
1 parent c34f3c0 commit a5b93db975ee8d3f9d72c981b086f215ee7cdfa4
Showing with 10 additions and 0 deletions.
  1. +10 −0 src/benchmarks/edu/brown/api/BenchmarkController.java
@@ -2111,6 +2111,16 @@ else if (parts[0].equalsIgnoreCase("NOSITES") || parts[0].equalsIgnoreCase("NOST
clientParams.put(parts[0].toLowerCase(), parts[1]);
}
}
if(params != null) {
ArrayList<Object> paramsList = new ArrayList<Object>();
for(Object param : params) {
if(param != null) {
paramsList.add(param);
}
}
params = paramsList.toArray();
}
// Initialize HStoreConf
assert(hstore_conf_path != null) : "Missing HStoreConf file";

0 comments on commit a5b93db

Please sign in to comment.