Skip to content

Commit 9965173

Browse files
authored
Cleanup in MemorySegmentUtils
1 parent df89d7e commit 9965173

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

SwiftKit/src/main/java/org/swift/swiftkit/MemorySegmentUtils.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,8 @@ static void setSwiftPointerAddress(MemorySegment target, MemorySegment memorySeg
2929
// Write the address of as the value of the newly created pointer.
3030
// We need to type-safely set the pointer value which may be 64 or 32-bit.
3131
if (SwiftValueLayout.SWIFT_INT == ValueLayout.JAVA_LONG) {
32-
System.out.println("[setSwiftPointerAddress] address is long = " + memorySegment.address());
3332
target.set(ValueLayout.JAVA_LONG, /*offset=*/0, memorySegment.address());
3433
} else {
35-
System.out.println("[setSwiftPointerAddress] address is int = " + memorySegment.address());
3634
target.set(ValueLayout.JAVA_INT, /*offset=*/0, (int) memorySegment.address());
3735
}
3836
}

0 commit comments

Comments
 (0)