Skip to content

Commit

Permalink
Remove 'default' in all methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
linlin-s committed Nov 28, 2023
1 parent fa11a5f commit 07ffb31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/com/amazon/ion/impl/_Private_IonBinaryWriterBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ public _Private_IonBinaryWriterBuilder withLocalSymbolTableAppendDisabled()
}

@Override
public _Private_IonBinaryWriterBuilder withDefaultBlockSize(int size) {
public _Private_IonBinaryWriterBuilder withBlockSize(int size) {
_Private_IonBinaryWriterBuilder b = mutable();
b.setDefaultBlockSize(size);
b.setBlockSize(size);
return b;
}

Expand Down Expand Up @@ -282,7 +282,7 @@ public void setStreamCopyOptimized(final boolean optimized)

//=========================================================================

public void setDefaultBlockSize(int size) {
public void setBlockSize(int size) {
myBinaryWriterBuilder.withUserBlockSize(size);
}

Expand Down
2 changes: 1 addition & 1 deletion src/com/amazon/ion/system/IonBinaryWriterBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public IvmMinimizing getIvmMinimizing()
* @param size represent the specified block size in bytes.
* If this functionality is not set, the default block size is 32768 bytes.
*/
public abstract IonBinaryWriterBuilder withDefaultBlockSize(int size);
public abstract IonBinaryWriterBuilder withBlockSize(int size);

/**
* Enables or disables writing Binary32 (4-byte, single precision,
Expand Down

0 comments on commit 07ffb31

Please sign in to comment.