[jOOQ/jOOQ#8905] Use GeneratorWriter.encoding() instead of "UTF-8"
This commit is contained in:
parent
255f5481a5
commit
1b0113cc25
@ -269,7 +269,7 @@ public abstract class GeneratorWriter<W extends GeneratorWriter<W>> {
|
||||
try {
|
||||
// [#3756] Regenerate files only if there is a difference
|
||||
String oldContent = null;
|
||||
if (file.exists() && file.length() == newContent.getBytes("UTF-8").length) {
|
||||
if (file.exists() && file.length() == newContent.getBytes(encoding()).length) {
|
||||
RandomAccessFile old = null;
|
||||
|
||||
try {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user