We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf758bc commit d64abc2Copy full SHA for d64abc2
library/src/main/java/com/qiniu/android/http/dns/DnsCacheFile.java
@@ -22,9 +22,7 @@ public DnsCacheFile(String directory) throws IOException {
22
23
this.directory = directory;
24
f = new File(directory);
25
- if (!f.isDirectory()) {
26
- throw new IOException("does not mkdir");
27
- }
+
28
if (!f.exists()) {
29
boolean r = f.mkdirs();
30
if (!r) {
0 commit comments