File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
libs/dotify/dotify.formatter.impl/src/org/daisy/dotify/formatter/impl/page Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -206,6 +206,7 @@ public RowGroupDataSource getDataSource() {
206
206
@ Override
207
207
protected void newRowGroupSequence (BreakBefore breakBefore , VerticalSpacing vs ) {
208
208
if (groups !=null ) {
209
+ // this means ScenarioData.maybeNewRowGroupSequence() did not return true for this block
209
210
throw new IllegalStateException ();
210
211
} else {
211
212
groups = new ArrayList <>();
Original file line number Diff line number Diff line change @@ -43,16 +43,12 @@ float calcSize() {
43
43
return size ;
44
44
}
45
45
46
- private boolean isDataEmpty () {
47
- return (dataGroups .isEmpty ()||dataGroups .peek ().getGroup ().isEmpty ());
48
- }
49
-
50
46
protected boolean hasSequence () {
51
47
return !dataGroups .isEmpty ();
52
48
}
53
49
54
50
protected boolean hasResult () {
55
- return !isDataEmpty ();
51
+ return !dataGroups . isEmpty ();
56
52
}
57
53
58
54
protected void newRowGroupSequence (BreakBefore breakBefore , VerticalSpacing vs ) {
You can’t perform that action at this time.
0 commit comments