FileAssert.assertMinLength(file, expectedMinFileSize);
if (fileFormatType!=null && fileFormatType.length()>0)
{
- String format = FileFormats.getInstance().forName(fileFormatType).getName();
+ FileFormatI format = FileFormats.getInstance()
+ .forName(fileFormatType);
if (format!=null)
{
try