Set lastmod in constructor since it's all that's missing to have an updated ActionFile.
This commit is contained in:
parent
3b6c99a2f5
commit
f04fbc1c3e
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ public class ActionFile implements Updatable {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.sourceName = file.getParentFile().getName()+"/"+file.getName();
|
this.sourceName = file.getParentFile().getName()+"/"+file.getName();
|
||||||
this.file = file;
|
this.file = file;
|
||||||
|
this.lastmod = file.lastModified ();
|
||||||
this.content = null;
|
this.content = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue