[BAEL-2255] fix example
This commit is contained in:
parent
d4db4ced08
commit
86e6fad300
@ -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 = "";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user