mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-09-28 18:49:56 +02:00
Readability
This commit is contained in:
parent
5bc032381d
commit
e97ca3e3f2
|
@ -17,7 +17,11 @@ import org.junit.jupiter.api.Test;
|
||||||
public class StreamDumpTest {
|
public class StreamDumpTest {
|
||||||
|
|
||||||
private static InputStream stringToStream(String string) throws IOException {
|
private static InputStream stringToStream(String string) throws IOException {
|
||||||
return new ArmoredInputStream(new ByteArrayInputStream(string.getBytes(Charset.forName("UTF8"))));
|
return new ArmoredInputStream(
|
||||||
|
new ByteArrayInputStream(
|
||||||
|
string.getBytes(Charset.forName("UTF8"))
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void printDataName(String name) {
|
private static void printDataName(String name) {
|
||||||
|
|
Loading…
Reference in a new issue