Fix missing close of Closeables caught by StrictMode

This commit is contained in:
Cameron Gutman
2015-03-29 23:25:00 -04:00
parent b5ba59b413
commit d822980d5a
3 changed files with 10 additions and 0 deletions

View File

@@ -61,6 +61,10 @@ public class CacheHelper {
sb.append(buf, 0, bytesRead);
}
try {
in.close();
} catch (IOException ignored) {}
return sb.toString();
}