Commit 1d7f4f70 authored by fallenstardust's avatar fallenstardust

可删除收藏夹最后一张

parent 5d70ba73
...@@ -48,15 +48,15 @@ public class ConfigManager implements Closeable { ...@@ -48,15 +48,15 @@ public class ConfigManager implements Closeable {
IOUtils.close(inputStream); IOUtils.close(inputStream);
} }
} }
//暂时弃用
public boolean isLoad() { public boolean isLoad() {
return mLines.size() > 0; return mLines.size() > 0;
} }
public void save(String words) { public void save(String words) {
if (!isLoad()) { //if (!isLoad()) {
read(); // read();
} //}
OutputStreamWriter out = null; OutputStreamWriter out = null;
FileOutputStream outputStream = null; FileOutputStream outputStream = null;
File tmp = new File(file.getAbsolutePath() + ".tmp"); File tmp = new File(file.getAbsolutePath() + ".tmp");
......
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