Trim spaces from name in RdosFileEntry.getFileName().

This commit is contained in:
John B. Matthews 2009-09-14 21:25:58 +00:00
parent 683ffd19e8
commit 40a7dc769b

View File

@ -94,7 +94,7 @@ public class RdosFileEntry implements FileEntry {
* Return the name of this file.
*/
public String getFilename() {
return isDeleted() ? textBundle.get("RdosFileEntry.NotInUse") : AppleUtil.getString(fileEntry, 0, 24); //$NON-NLS-1$
return isDeleted() ? textBundle.get("RdosFileEntry.NotInUse") : AppleUtil.getString(fileEntry, 0, 24).trim(); //$NON-NLS-1$
}
/**