Merge branch 'dev' into leng_dev

This commit is contained in:
冷冷 committed 2020-03-04 10:45:23 +08:00
commit e1cca0d224
1 file changed
+1 -1
@@ -56,7 +56,7 @@ public class EditorServiceImpl implements EditorService {
public Object getStencilset() {
InputStream stencilsetStream = this.getClass().getClassLoader().getResourceAsStream("stencilset.json");
try {
return IOUtils.toString(stencilsetStream, StandardCharsets.UTF_8);
return IOUtils.toString(stencilsetStream, StandardCharsets.UTF_8.name());
} catch (Exception e) {
log.error("Error while loading stencil set", e);
throw new ActivitiException("Error while loading stencil set", e);