Skip to content
Permalink
Browse files
Fix 2 issues found during review.
  • Loading branch information
leerho committed Aug 10, 2021
1 parent 25ef76b commit edc2003e5ecc500a711416a42cd8890a97670655
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
@@ -412,6 +412,7 @@ public void testIllegalFill() {
public void checkWritableWrap() {
ByteBuffer bb = ByteBuffer.allocate(16);
WritableBuffer buf = WritableBuffer.writableWrap(bb, ByteOrder.nativeOrder(), null);
assertNotNull(buf);
buf = WritableBuffer.writableWrap(bb, ByteOrder.nativeOrder(), new DefaultMemoryRequestServer());
assertNotNull(buf);
}
@@ -354,7 +354,7 @@ private static final String zeroPad(final String s, final int fieldLength) {
* @param s the given string
* @param fieldLength the desired field length
* @param padChar the desired pad character
* @param postpend if true append the pacCharacters to the end of the string.
* @param postpend if true append the padCharacters to the end of the string.
* @return prepended or postpended given string with the given character to fill the given field
* length.
*/

0 comments on commit edc2003

Please sign in to comment.