WW-5450 Uses proper naming when defining a constant

This commit is contained in:
Lukasz Lenart
2024-08-30 14:45:55 +02:00
parent 7aa491eb40
commit b6cffd2ffa
@@ -101,7 +101,7 @@ public class Include extends Component {
private static final Logger LOG = LogManager.getLogger(Include.class);
private static final String systemEncoding = Charset.defaultCharset().displayName();
private static final String SYSTEM_ENCODING = Charset.defaultCharset().displayName();
protected String value;
private final HttpServletRequest req;
@@ -279,7 +279,7 @@ public class Include extends Component {
pageResponse.getContent().writeTo(writer, encoding);
} else {
// Use the platform specific encoding
pageResponse.getContent().writeTo(writer, systemEncoding);
pageResponse.getContent().writeTo(writer, SYSTEM_ENCODING);
}
}