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