Skip to content

Commit

Permalink
1.更新 DevCache#xFileOutputStream 为 XFileOutputStream
Browse files Browse the repository at this point in the history
Former-commit-id: 13f0cae
Former-commit-id: 892913b
  • Loading branch information
Ttt committed Dec 28, 2020
1 parent 92f8ca6 commit b06077e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/DevApp/src/main/java/dev/utils/app/cache/DevCache.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ private DevCache(
* Since writing about the file is complete, and its close method is called,
* its contents will be registered in the cache
*/
class xFileOutputStream extends FileOutputStream {
class XFileOutputStream extends FileOutputStream {

private File file;

public xFileOutputStream(File file) throws FileNotFoundException {
public XFileOutputStream(File file) throws FileNotFoundException {
super(file);
this.file = file;
}
Expand Down Expand Up @@ -431,7 +431,7 @@ public boolean put(
public OutputStream put(final String key) throws FileNotFoundException {
File file = mCache.newFile(key);
if (file != null) {
return new xFileOutputStream(file);
return new XFileOutputStream(file);
}
return null;
}
Expand Down

0 comments on commit b06077e

Please sign in to comment.