Skip to content

Commit 01e3fef

Browse files
committed
spotless
1 parent 4d35fac commit 01e3fef

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

memory/memory-core/src/main/java/org/apache/arrow/memory/ArrowBuf.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -734,8 +734,8 @@ public void getBytes(long index, byte[] dst, int dstIndex, int length) {
734734
/**
735735
* Copy data from this ArrowBuf into a newly allocated array.
736736
*
737-
* <p>This method is more resilient to invalid data inadvertently causing large allocations,
738-
* as the byte[] will not be allocated until we check the length.
737+
* <p>This method is more resilient to invalid data inadvertently causing large allocations, as
738+
* the byte[] will not be allocated until we check the length.
739739
*
740740
* @param index index (0 based relative to the portion of memory this ArrowBuf has access to)
741741
* @param length length of data to copy from this ArrowBuf

memory/memory-core/src/main/java/org/apache/arrow/memory/BoundsChecking.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
* deprecated. The environmental variable is named "ARROW_ENABLE_UNSAFE_MEMORY_ACCESS". When both
2626
* the system property and the environmental variable are set, the system property takes precedence.
2727
*
28-
* <p>WARNING: disabling bounds checking means that out-of-bounds memory access is possible! This can
29-
* lead to security vulnerabilities. You should not read or write untrusted data when bounds checking
30-
* is disabled.
28+
* <p>WARNING: disabling bounds checking means that out-of-bounds memory access is possible! This
29+
* can lead to security vulnerabilities. You should not read or write untrusted data when bounds
30+
* checking is disabled.
3131
*/
3232
public class BoundsChecking {
3333

0 commit comments

Comments
 (0)