pdtx opened a new pull request, #426:
URL: https://github.com/apache/commons-codec/pull/426

   Description:
    Summary
   - Add explicit assertions that `allocate()` returns a direct `ByteBuffer` 
without a backing array.
   - Add a focused encode/decode test for a direct `ByteBuffer` with non-zero 
`position`/`limit`.
   - Verify buffer consumption (`remaining() == 0`) after encode/decode to 
better cover direct-buffer handling paths.
    Scope
   - Test-only change in 
`src/test/java/org/apache/commons/codec/binary/AllocateDirectHexTest.java`.
   - No production code changes.
    Validation
   - Ran: `mvn -Dtest=AllocateDirectHexTest test`
   - Result: `Tests run: 238, Failures: 0, Errors: 0, Skipped: 0` (`BUILD 
SUCCESS`)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to