File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
contrib/format-daffodil/src/main/java/org/apache/drill/exec/store/daffodil
exec/vector/src/main/java/org/apache/drill/exec/record/metadata Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 4040import java .net .URISyntaxException ;
4141import java .util .Objects ;
4242
43- import static org .apache .drill .exec .store .daffodil .schema .DaffodilDataProcessorFactory .* ;
43+ import static org .apache .drill .exec .store .daffodil .schema .DaffodilDataProcessorFactory .CompileFailure ;
4444import static org .apache .drill .exec .store .daffodil .schema .DrillDaffodilSchemaUtils .daffodilDataProcessorToDrillSchema ;
4545
4646public class DaffodilBatchReader implements ManagedReader {
Original file line number Diff line number Diff line change @@ -198,11 +198,12 @@ public MapBuilder resumeMap() {
198198 */
199199 @ Override
200200 public void resume () {
201- if (Objects .isNull (parent ))
201+ if (Objects .isNull (parent )) {
202202 throw new IllegalStateException ("Call to resume() on MapBuilder with no parent." );
203- if (parent instanceof MapBuilder )
203+ }
204+ if (parent instanceof MapBuilder ) {
204205 resumeMap ();
205- else {
206+ } else {
206207 assert (parent instanceof SchemaBuilder );
207208 //
208209 // This would be extended for other kinds of possible containers of a Map.
You can’t perform that action at this time.
0 commit comments