File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
variable-replacers/src/main/java/com/hazelcast/sample/replacer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2323import java .io .ByteArrayOutputStream ;
2424import java .io .IOException ;
2525import java .io .InputStream ;
26+ import java .nio .charset .StandardCharsets ;
2627import java .util .Arrays ;
2728import java .util .Properties ;
2829
2930import static com .hazelcast .internal .nio .IOUtil .closeResource ;
30- import static com .hazelcast .internal .util .StringUtil .UTF8_CHARSET ;
3131import static com .hazelcast .internal .util .StringUtil .isNullOrEmpty ;
3232
3333/**
@@ -151,7 +151,7 @@ public void run() {
151151 * Returns all read bytes as String (with UTF-8 charset used).
152152 */
153153 public String getStreamContent () {
154- return new String (baos .toByteArray (), UTF8_CHARSET );
154+ return new String (baos .toByteArray (), StandardCharsets . UTF_8 );
155155 }
156156 }
157157}
You can’t perform that action at this time.
0 commit comments