Skip to content

Commit

Permalink
Fix the format problems of the comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jmao-denver committed Jan 10, 2024
1 parent 5d7fe30 commit fed5875
Showing 1 changed file with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,8 @@ private static BarrageProtoUtil.MessageInfo parseArrowIpcMessage(final ByteBuffe
@ScriptApi
public synchronized void setSchema(final ByteBuffer ipcMessage) {
// The input ByteBuffer instance (especially originated from Python) can't be assumed to be valid after the
// return
// of this method. Until https://github.com/jpy-consortium/jpy/issues/126 is resolved, we need to copy the data
// out of
// the input ByteBuffer to use after the return of this method.
// return of this method. Until https://github.com/jpy-consortium/jpy/issues/126 is resolved, we need to copy
// the data out of the input ByteBuffer to use after the return of this method.
if (completed) {
throw new IllegalStateException("Conversion is complete; cannot process additional messages");
}
Expand All @@ -88,10 +86,8 @@ public synchronized void setSchema(final ByteBuffer ipcMessage) {
@ScriptApi
public synchronized void addRecordBatches(final ByteBuffer... ipcMessages) {
// The input ByteBuffer instance (especially originated from Python) can't be assumed to be valid after the
// return
// of this method. Until https://github.com/jpy-consortium/jpy/issues/126 is resolved, we need to copy the data
// out of
// the input ByteBuffer to use after the return of this method.
// return of this method. Until https://github.com/jpy-consortium/jpy/issues/126 is resolved, we need to copy
// the data out of the input ByteBuffer to use after the return of this method.
for (final ByteBuffer ipcMessage : ipcMessages) {
addRecordBatch(ipcMessage);
}
Expand All @@ -100,10 +96,8 @@ public synchronized void addRecordBatches(final ByteBuffer... ipcMessages) {
@ScriptApi
public synchronized void addRecordBatch(final ByteBuffer ipcMessage) {
// The input ByteBuffer instance (especially originated from Python) can't be assumed to be valid after the
// return
// of this method. Until https://github.com/jpy-consortium/jpy/issues/126 is resolved, we need to copy the data
// out of
// the input ByteBuffer to use after the return of this method.
// return of this method. Until https://github.com/jpy-consortium/jpy/issues/126 is resolved, we need to copy
// the data out of the input ByteBuffer to use after the return of this method.
if (completed) {
throw new IllegalStateException("Conversion is complete; cannot process additional messages");
}
Expand Down

0 comments on commit fed5875

Please sign in to comment.