Skip to content

Commit 638c6e8

Browse files
committed
Tweaks.
1 parent 0779c57 commit 638c6e8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/test/java/com/stringcompressor/FiveBitAsciiCompressorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ public void usageExample() {
2222
// A string to be compressed. Whenever possible, prefer working directly with byte[] to avoid creating String objects.
2323
byte[] inputStr = "HELLO-COMPRESSOR".getBytes(US_ASCII);
2424

25-
// Creates a compressor with the default supported character set.
25+
// Creates a compressor with the default supported character set (see FiveBitAsciiCompressor.DEFAULT_5BIT_CHARSET).
2626
AsciiCompressor compressor = new FiveBitAsciiCompressor();
27-
// Creates a compressor with a custom charset (see FiveBitAsciiCompressor.DEFAULT_5BIT_CHARSET)
27+
// Creates a compressor with a custom charset.
2828
// AsciiCompressor customCharsetCompressor = new FiveBitAsciiCompressor(new byte[]{/* custom charset */});
2929

3030
// Throws an exception when invalid characters are present; useful for debugging purposes.

src/test/java/com/stringcompressor/FourBitAsciiCompressorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ public void usageExample() {
2222
// A string to be compressed. Whenever possible, prefer working directly with byte[] to avoid creating String objects.
2323
byte[] inputStr = "0123456789".getBytes(US_ASCII);
2424

25-
// Creates a compressor with the default supported character set.
25+
// Creates a compressor with the default supported character set (see FourBitAsciiCompressor.DEFAULT_4BIT_CHARSET).
2626
AsciiCompressor compressor = new FourBitAsciiCompressor();
27-
// Creates a compressor with a custom charset (see FourBitAsciiCompressor.DEFAULT_4BIT_CHARSET).
27+
// Creates a compressor with a custom charset.
2828
// AsciiCompressor customCharsetCompressor = new FourBitAsciiCompressor(new byte[]{/* custom charset */});
2929

3030
// Throws an exception when invalid characters are present; useful for debugging purposes.

src/test/java/com/stringcompressor/SixBitAsciiCompressorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ public void usageExample() {
2222
// A string to be compressed. Whenever possible, prefer working directly with byte[] to avoid creating String objects.
2323
byte[] inputStr = "HELLO, COMPRESSOR".getBytes(US_ASCII);
2424

25-
// Creates a compressor with the default supported character set.
25+
// Creates a compressor with the default supported character set (see SixBitAsciiCompressor.DEFAULT_6BIT_CHARSET).
2626
AsciiCompressor compressor = new SixBitAsciiCompressor();
27-
// Creates a compressor with a custom charset (see SixBitAsciiCompressor.DEFAULT_6BIT_CHARSET).
27+
// Creates a compressor with a custom charset.
2828
// AsciiCompressor customCharsetCompressor = new SixBitAsciiCompressor(new byte[]{/* custom charset */});
2929

3030
// Throws an exception when invalid characters are present; useful for debugging purposes.

0 commit comments

Comments
 (0)