* make sure normal File instances are used when renaming (not types like FastFile that cache fs operations)
This commit is contained in:
parent
12aa612bd4
commit
374206480e
|
@ -85,7 +85,7 @@ public class RenameModel extends MatchModel<Object, File> {
|
||||||
|
|
||||||
for (int i = 0; i < names.size(); i++) {
|
for (int i = 0; i < names.size(); i++) {
|
||||||
if (hasComplement(i)) {
|
if (hasComplement(i)) {
|
||||||
File originalFile = files().get(i);
|
File originalFile = new File(files().get(i).getAbsolutePath());
|
||||||
FormattedFuture formattedFuture = names.get(i);
|
FormattedFuture formattedFuture = names.get(i);
|
||||||
|
|
||||||
StringBuilder nameBuilder = new StringBuilder();
|
StringBuilder nameBuilder = new StringBuilder();
|
||||||
|
|
Loading…
Reference in New Issue