package com.webcodepro.applecommander.storage.os.cpm
class CpmFormatDisk
/**
* Create a new FileEntry.
* @see com.webcodepro.applecommander.storage.DirectoryEntry#createFile()
*/
public FileEntry createFile() throws DiskFullException {
return null;
}
instead of "return null" this should be
throw new DiskFullException(textBundle.get("FileCreationNotSupported")); //$NON-NLS-1$
as in the other implementations instead. Otherwise clients face unexpected NullPointer exception.
Best regards, Peter.