@Override
 public void setClosed(boolean closed) {
   if (closed && !isClosed()) {
     builder.endBlock();
   }
   super.setClosed(closed);
 }
Beispiel #2
0
 @Override
 public void setClosed(boolean closed) {
   if (closed && !isClosed()) {
     while (listState != null && !listState.isEmpty()) {
       closeOne();
     }
     listState = null;
   }
   super.setClosed(closed);
 }