1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Better log.

This commit is contained in:
Cedric Beust 2015-12-13 07:23:41 +04:00
parent 85fa6416dc
commit d122f5c71b

View file

@ -109,7 +109,7 @@ public class JarUtils {
while (enumEntries.hasMoreElements()) { while (enumEntries.hasMoreElements()) {
val file = enumEntries.nextElement() val file = enumEntries.nextElement()
if (file.name == fileName) { if (file.name == fileName) {
log(2, "Found $fileName in $zip") log(2, "Found $fileName in ${zip.name}")
zip.getInputStream(file).use { ins -> zip.getInputStream(file).use { ins ->
return CharStreams.toString(InputStreamReader(ins, "UTF-8")) return CharStreams.toString(InputStreamReader(ins, "UTF-8"))
} }