+1

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Friday, February 17, 2017 12:43 PM
To: [email protected]
Subject: [Bug 60741] NPOIFS move from read-only flag to 3-state enum

https://bz.apache.org/bugzilla/show_bug.cgi?id=60741

--- Comment #2 from Greg Woolsey <[email protected]> --- (In reply to Nick 
Burch from comment #1)
> Help needed with naming the enum and the enum values...

Perhaps

public enum WriteState {
    READ_ONLY,
    IN_PLACE,
    BUFFERED,
    ;
}

with appropriate JavaDocs indicating restrictions, performance implications, 
and example use cases.  The Enum and API method JavaDocs would note that this 
only applies to paths that read from files, not streams.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, 
e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to