mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-22 23:29:34 +00:00
Normalize sense of lock parameter in ProdosFileEntry.setLocked() to match siblings.
This commit is contained in:
parent
3c3eefa739
commit
0884796fb2
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user