git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update nikiroo-utils, remove Instance.syserr/trace
[nikiroo-utils.git]
/
src
/
be
/
nikiroo
/
fanfix
/
library
/
LocalLibrary.java
diff --git
a/src/be/nikiroo/fanfix/library/LocalLibrary.java
b/src/be/nikiroo/fanfix/library/LocalLibrary.java
index 11c36630adcef96ea73d17c8712d84495260299a..917ce093b20ebd8b58cad71a37a75d263c173490 100644
(file)
--- a/
src/be/nikiroo/fanfix/library/LocalLibrary.java
+++ b/
src/be/nikiroo/fanfix/library/LocalLibrary.java
@@
-122,7
+122,7
@@
public class LocalLibrary extends BasicLibrary {
meta = InfoReader.readMeta(infoFile, true);
return meta.getCover();
} catch (IOException e) {
meta = InfoReader.readMeta(infoFile, true);
return meta.getCover();
} catch (IOException e) {
- Instance.
syser
r(e);
+ Instance.
getTraceHandler().erro
r(e);
}
}
}
}
}
}
@@
-183,7
+183,7
@@
public class LocalLibrary extends BasicLibrary {
InfoCover.writeInfo(newDir, name, meta);
relatedFile.delete();
} catch (IOException e) {
InfoCover.writeInfo(newDir, name, meta);
relatedFile.delete();
} catch (IOException e) {
- Instance.
syser
r(e);
+ Instance.
getTraceHandler().erro
r(e);
}
} else {
relatedFile.renameTo(new File(newDir, relatedFile.getName()));
}
} else {
relatedFile.renameTo(new File(newDir, relatedFile.getName()));
@@
-209,7
+209,7
@@
public class LocalLibrary extends BasicLibrary {
try {
ImageIO.write(sourceCovers.get(source), "png", cover);
} catch (IOException e) {
try {
ImageIO.write(sourceCovers.get(source), "png", cover);
} catch (IOException e) {
- Instance.
syser
r(e);
+ Instance.
getTraceHandler().erro
r(e);
sourceCovers.remove(source);
}
}
sourceCovers.remove(source);
}
}
@@
-472,7
+472,7
@@
public class LocalLibrary extends BasicLibrary {
} catch (IOException e) {
// We should not have not-supported files in the
// library
} catch (IOException e) {
// We should not have not-supported files in the
// library
- Instance.
syser
r(new IOException(
+ Instance.
getTraceHandler().erro
r(new IOException(
"Cannot load file from library: " + infoFile, e));
}
pgFiles.add(1);
"Cannot load file from library: " + infoFile, e));
}
pgFiles.add(1);
@@
-489,7
+489,7
@@
public class LocalLibrary extends BasicLibrary {
in.close();
}
} catch (IOException e) {
in.close();
}
} catch (IOException e) {
- Instance.
syser
r(e);
+ Instance.
getTraceHandler().erro
r(e);
}
}
}
}
@@
-516,7
+516,7
@@
public class LocalLibrary extends BasicLibrary {
try {
ImageIO.write(sourceCovers.get(source), "png", cover);
} catch (IOException e) {
try {
ImageIO.write(sourceCovers.get(source), "png", cover);
} catch (IOException e) {
- Instance.
syser
r(e);
+ Instance.
getTraceHandler().erro
r(e);
sourceCovers.remove(source);
}
}
sourceCovers.remove(source);
}
}