Normalize sense of lock parameter in ProdosFileEntry.setLocked() to match siblings.

This commit is contained in:
John B. Matthews 2008-06-05 11:11:59 +00:00
parent 3c3eefa739
commit 0884796fb2
1 changed files with 3 additions and 3 deletions

View File

@ -294,9 +294,9 @@ public class ProdosFileEntry extends ProdosCommonEntry implements FileEntry {
* Set the lock indicator.
*/
public void setLocked(boolean lock) {
setCanDestroy(lock);
setCanRename(lock);
setCanWrite(lock);
setCanDestroy(!lock);
setCanRename(!lock);
setCanWrite(!lock);
}
/**