- private void save(InputStream in, File cached) throws IOException {
- // We delete AFTER so not to remove the subdir we will use...
- IOUtils.write(in, cached);
+ private long save(InputStream in, File cached) throws IOException {
+ // We want to force at least an immediate SAVE/LOAD to work for some
+ // workflows, even if we don't accept cached files (times set to "0"
+ // -- and not "-1" or a positive value)