[BAEL-2255] fix example

This commit is contained in:
markoprevisic 2018-10-27 13:36:39 +02:00
parent d4db4ced08
commit 86e6fad300

View File

@ -43,7 +43,7 @@ public class BufferedReaderExample {
String result;
if (charsRead != -1) {
result = new String(chars, charsRead, 0);
result = new String(chars, 0, charsRead);
} else {
result = "";
}