1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 16:58:51 -05:00

* gracefully ignore if creationTime not supported on the given OS

This commit is contained in:
Reinhard Pointner 2012-10-24 12:16:56 +00:00
parent c2398cc6b0
commit cb4f1251bf

View File

@ -33,7 +33,7 @@ public class MetaAttributes {
try { try {
fileAttributeView.setTimes(null, null, FileTime.fromMillis(millis)); fileAttributeView.setTimes(null, null, FileTime.fromMillis(millis));
} catch (IOException e) { } catch (IOException e) {
throw new IllegalStateException(e); // creationTime not supported => ignore
} }
} }