朱天赐 created IOTDB-142: ------------------------- Summary: Change String literal "UTF-8" into StandardCharsets.UTF_8 Key: IOTDB-142 URL: https://issues.apache.org/jira/browse/IOTDB-142 Project: Apache IoTDB Issue Type: Improvement Reporter: 朱天赐
methods and constructors where constant charset String literal is used (like "UTF-8") which could be replaced with a predefined Charset object like StandardCharsets.UTF_8. This may work a little bit faster because charset lookup becomes unnecessary. Also catching UnsupportedEncodingException may become unnecessary as well. In this case, the catch block will be removed automatically. -- This message was sent by Atlassian JIRA (v7.6.14#76016)