Skip to content

Commit 9173a6c

Browse files
committed
Tweaks.
1 parent 7ce9036 commit 9173a6c

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

build.gradle.kts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,20 @@ dependencies {
2525
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
2626
}
2727

28+
java {
29+
withJavadocJar()
30+
withSourcesJar()
31+
}
32+
33+
tasks.named("build") {
34+
doLast {
35+
copy {
36+
from("$rootDir/publishing/java-string-compressor-1.0.0.pom")
37+
into(layout.buildDirectory.dir("libs"))
38+
}
39+
}
40+
}
41+
2842
tasks.test {
2943
useJUnitPlatform()
3044
}

src/main/java/com/dannemann/stringcompressor/SixBitAsciiCompressor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
public class SixBitAsciiCompressor extends AsciiCompressor {
99

1010
/**
11-
* 6-bit character set supported by default (ordered by ASCII): ' ', '!', '"', '#', '$', '%', '&', '\'', '(', ')', '*', '+', ',', '-', '.', '/', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';', '<', '=', '>', '?', '@', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '[', ']', '_', '{', '}'
11+
* 6-bit character set supported by default (ordered by ASCII): ' ', '!', '"', '#', '$', '%', '&amp;', '\'', '(', ')', '*', '+', ',', '-', '.', '/', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';', '&lt;', '=', '&gt;', '?', '@', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '[', ']', '_', '{', '}'
1212
*/
1313
public static final byte[] DEFAULT_6BIT_CHARSET = new byte[]{
1414
' ', '!', '"', '#', '$', '%', '&', '\'', '(', ')', '*', '+', ',', '-', '.', '/',
@@ -20,7 +20,7 @@ public class SixBitAsciiCompressor extends AsciiCompressor {
2020
};
2121

2222
/**
23-
* 6-bit lowercase character set supported by default (ordered by ASCII): ' ', '!', '"', '#', '$', '%', '&', '\'', '(', ')', '*', '+', ',', '-', '.', '/', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';', '<', '=', '>', '?', '@', '[', ']', '_', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '{', '}'
23+
* 6-bit lowercase character set supported by default (ordered by ASCII): ' ', '!', '"', '#', '$', '%', '&amp;', '\'', '(', ')', '*', '+', ',', '-', '.', '/', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';', '&lt;', '=', '&gt;', '?', '@', '[', ']', '_', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '{', '}'
2424
*/
2525
public static final byte[] DEFAULT_6BIT_CHARSET_LOWERCASE = new byte[]{
2626
' ', '!', '"', '#', '$', '%', '&', '\'', '(', ')', '*', '+', ',', '-', '.', '/',

0 commit comments

Comments
 (0)