NSEntry constructor

Hi Andre, I have a few comments about the NSEntry. The notes of the constructor state that all notes from the open call (on ns_directory) apply. * The notes of the open call specify an AlreadyExists exception which is not in the Throws list of the NSEntry constructor. * It is not clear from the description of the ns_directory open call if it should create a new file if: 1. The file does not exists 2. The CREATE flag is set I think it should, is that true? If so, maybe you can add it to the postconditions. Roelof

Hi Roelof, I am not sure if I answered this one already. Just found it (again?) :-) Quoting [Roelof Kemp] (Oct 31 2007):
Hi Andre,
I have a few comments about the NSEntry. The notes of the constructor state that all notes from the open call (on ns_directory) apply.
* The notes of the open call specify an AlreadyExists exception which is not in the Throws list of the NSEntry constructor.
Thanks.
* It is not clear from the description of the ns_directory open call if it should create a new file if: 1. The file does not exists 2. The CREATE flag is set I think it should, is that true? If so, maybe you can add it to the postconditions.
Yes, definitely - that is what the CREATE flag is there for. I'll fix the postcond, thanks. Cheers, Andre.
Roelof -- No trees were destroyed in the sending of this message, however, a significant number of electrons were terribly inconvenienced.
participants (2)
-
Andre Merzky
-
Roelof Kemp