Commit c24450ea authored by 赵建伟's avatar 赵建伟

upadte codes

parent b7677408
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" defaultCharsetForPropertiesFiles="UTF-8" />
</project>
\ No newline at end of file
......@@ -62,7 +62,7 @@
<property name="project.structure.last.edited" value="Global Libraries" />
<property name="project.structure.proportion" value="0.0" />
<property name="project.structure.side.proportion" value="0.2" />
<property name="settings.editor.selected.configurable" value="preferences.externalDependencies" />
<property name="settings.editor.selected.configurable" value="File.Encoding" />
</component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
......@@ -120,7 +120,7 @@
<workItem from="1588154352798" duration="195000" />
<workItem from="1588220085338" duration="7993000" />
<workItem from="1588248522289" duration="2820000" />
<workItem from="1588344251422" duration="1056000" />
<workItem from="1588344251422" duration="1165000" />
</task>
<task id="LOCAL-00001" summary="add init codes.">
<created>1587723565207</created>
......@@ -337,9 +337,10 @@
<screen x="246" y="1080" width="1920" height="1151" />
</state>
<state x="1038" y="1373" key="RollbackChangesDialog/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151" timestamp="1587898773703" />
<state x="694" y="1237" key="SettingsEditor" timestamp="1587720319782">
<screen x="246" y="1080" width="1920" height="1151" />
<state x="448" y="176" key="SettingsEditor" timestamp="1588346857662">
<screen x="0" y="22" width="1920" height="1129" />
</state>
<state x="448" y="176" key="SettingsEditor/0.22.1920.1129@0.22.1920.1129" timestamp="1588346857662" />
<state x="694" y="1237" key="SettingsEditor/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151" timestamp="1587720319782" />
<state x="560" y="312" key="Vcs.Push.Dialog.v2" timestamp="1588232541898">
<screen x="0" y="22" width="1920" height="1058" />
......
......@@ -216,7 +216,7 @@
<workItem from="1588148891822" duration="2318000" />
<workItem from="1588152718016" duration="1463000" />
<workItem from="1588154601852" duration="28557000" />
<workItem from="1588344252163" duration="1944000" />
<workItem from="1588344252163" duration="2588000" />
</task>
<servers />
</component>
......
......@@ -32,9 +32,9 @@ public class ProperUtils {
Properties properties = new Properties();
try {
//InputStream inputStream = ProperUtils.class.getClassLoader().getResourceAsStream(path);
InputStream inputStream = new BufferedInputStream(new FileInputStream(path));
properties.load(inputStream);
inputStream.close();
InputStreamReader reader = new InputStreamReader(new FileInputStream(path), "UTF-8");
properties.load(reader);
reader.close();
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment