FasterXML / woodstox

@@ -807,7 +807,7 @@
Loading
807 807
    @Override
808 808
    public void writeStartTagEnd() throws IOException {
809 809
        fastWriteRaw('>');
810 -
    }    
810 +
    }
811 811
812 812
    @Override
813 813
    public void writeStartTagEmptyEnd() throws IOException

@@ -320,9 +320,8 @@
Loading
320 320
            }
321 321
        }
322 322
323 -
        /* And then let's just output attributes, if any (whether to copy
324 -
         * implicit, aka "default" attributes, is configurable)
325 -
         */
323 +
        // And then let's just output attributes, if any (whether to copy
324 +
        // implicit, aka "default" attributes, is configurable)
326 325
        int attrCount = mCfgCopyDefaultAttrs ?
327 326
            attrCollector.getCount() :
328 327
            attrCollector.getSpecifiedCount();

@@ -777,7 +777,7 @@
Loading
777 777
                writeEndDocument();
778 778
                return;
779 779
                
780 -
                // Element start/end events:
780 +
            // Element start/end events:
781 781
            case START_ELEMENT:
782 782
                if (sr instanceof StreamReaderImpl) {
783 783
                    StreamReaderImpl impl = (StreamReaderImpl) sr;
@@ -875,7 +875,14 @@
Loading
875 875
876 876
            case PROCESSING_INSTRUCTION:
877 877
                {
878 +
                    mAnyOutput = true;
879 +
                    // Need to finish an open start element?
880 +
                    if (mStartElementOpen) {
881 +
                        closeStartElement(mEmptyElement);
882 +
                    }
878 883
                    mWriter.writePIStart(sr.getPITarget(), true);
884 +
                    // Similar to COMMENT, contents assumed to have been validated;
885 +
                    // no escaping allowed, so:
879 886
                    sr.getText(wrapAsRawWriter(), preserveEventData);
880 887
                    mWriter.writePIEnd();
881 888
                }
Files Complexity Coverage
src/main/java/com/ctc/wstx 51.13% 60.53%
Project Totals (168 files) 51.13% 60.53%
1483677582
unittests

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading