1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

Rename {file} binding to {f} and introduce new {file} binding for the File Object (without any checks, i.e. nullable)

This commit is contained in:
Reinhard Pointner 2016-07-27 23:31:45 +08:00
parent fc757ce0d0
commit 5a9169c5ed

View File

@ -91,6 +91,7 @@ public class MediaBindingBean {
return infoObject;
}
@Define("file")
public File getFileObject() {
return mediaFile;
}
@ -864,7 +865,7 @@ public class MediaBindingBean {
return SLASH.splitAsStream(MediaTypes.getDefault().getMediaType(getExtension())).collect(toList());
}
@Define("file")
@Define("f")
public File getMediaFile() {
// make sure file is not null, and that it is an existing file
if (mediaFile == null) {