AbstractRandomAccessContent.mode is never used
----------------------------------------------
Key: VFS-336
URL: https://issues.apache.org/jira/browse/VFS-336
Project: Commons VFS
Issue Type: Bug
Affects Versions: 1.0
Reporter: Sebb
The mode field in AbstractRandomAccessContent is never used.
The field is an enum RandomAccessMode with values READ and READWRITE, so one
would expect the mode to be checked by the concrete subclasses.
The field could be made protected to allow subclasses to use it.
Or perhaps protected checkRead/checkWrite methods could be added which throw an
Exception if the operation is not permitted
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.