Commit 984a5fdf by 赵国君

rollback few lines

parent f79bd39c
...@@ -42,11 +42,13 @@ public class MapConstructor extends ElementConstructor { ...@@ -42,11 +42,13 @@ public class MapConstructor extends ElementConstructor {
String locationName, taskLineName = ""; String locationName, taskLineName = "";
locationNum = locations.size(); locationNum = locations.size();
keywordMap.putIfAbsent("site_list", new StringBuffer());
for (int i = 0; i < locationNum; i++) { for (int i = 0; i < locationNum; i++) {
jobj = locations.getJSONObject(i); jobj = locations.getJSONObject(i);
jobj.put("index", i); jobj.put("index", i);
locationName = (String) jobj.get("name"); locationName = (String) jobj.get("name");
keywordMap.get("site_list").append("+").append(locationName);
taskLineName = String.format(TASK_LINE, locationName); taskLineName = String.format(TASK_LINE, locationName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment