|
@@ -95,10 +95,12 @@ public class GenPaperService {
|
|
|
}
|
|
|
List<PaperDetail> paperDetails = new ArrayList<PaperDetail>();
|
|
|
List<PaperDetailUnit> paperDetailunits = new ArrayList<PaperDetailUnit>();
|
|
|
+ Iterator iterator = quesSet.iterator();
|
|
|
+
|
|
|
for (DetailContext dc : detailContexts) {
|
|
|
List<PaperDetailUnit> unitsTemp = new ArrayList<PaperDetailUnit>();
|
|
|
List<UnitContext> units = dc.getUnits();
|
|
|
- Iterator iterator = quesSet.iterator();
|
|
|
+
|
|
|
while(iterator.hasNext()) {
|
|
|
Question ques = (Question) iterator.next();
|
|
|
for (UnitContext uc : units) {
|