mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2025-08-09 21:25:10 +00:00
Normalize sense of lock parameter in ProdosFileEntry.setLocked() to match siblings.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user