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