Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1005

Unnecessary filling new array with zeros in RandomAccessBuffer::write(byte[], int, int)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.6.0
    • None
    • None

    Description

      it is not required to fill new array with zeros, because it's done by JVM

      Attachments

        1. RandomAccessBuffer.java
          4 kB
          Kevin Jackson

        Activity

          People

            lehmi Andreas Lehmkühler
            bsp Sergey Vladimirov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified