|
|
@@ -445,7 +445,7 @@ public class ModifiedSelector extends BaseExtendSelector |
|
|
|
// How to handle non-file-Resources? I copy temporarily the |
|
|
|
// resource to a file and use the file-implementation. |
|
|
|
FileUtils fu = FileUtils.getFileUtils(); |
|
|
|
File tmpFile = fu.createTempFile("modified-", ".tmp", null); |
|
|
|
File tmpFile = fu.createTempFileName("modified-", ".tmp", null, true); |
|
|
|
Resource tmpResource = new FileResource(tmpFile); |
|
|
|
ResourceUtils.copyResource(resource, tmpResource); |
|
|
|
boolean isSelected = isSelected(tmpFile.getParentFile(), |
|
|
|