Skip to content

Commit

Permalink
删除一行多余的代码
Browse files Browse the repository at this point in the history
  • Loading branch information
obiteaaron committed Mar 5, 2016
1 parent 92f4c80 commit b8c83bf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/net/sourceforge/pinyin4j/multipinyin/Trie.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ public synchronized void loadMultiPinyin(InputStream inStream) throws IOExceptio
bufferedReader = new BufferedReader(inputStreamReader);
String s;
while ((s = bufferedReader.readLine()) != null) {
if (s.startsWith("长春"))
System.out.println("");
String[] keyAndValue = s.split(" ");
if (keyAndValue.length != 2)
continue;
Expand Down Expand Up @@ -124,7 +122,7 @@ public synchronized void loadMultiPinyin(InputStream inStream) throws IOExceptio
*/
public void loadMultiPinyinExtend() throws IOException {
String path = MultiPinyinConfig.multiPinyinPath;
if(path!=null) {
if (path != null) {
File userMultiPinyinFile = new File(path);
if (userMultiPinyinFile.exists()) {
loadMultiPinyin(new FileInputStream(userMultiPinyinFile));
Expand Down

0 comments on commit b8c83bf

Please sign in to comment.