Hi,

I have 2 questions on MicroKernel add/set property that MicroKernel
JavaDoc does not seem to answer.

1- What's the difference between adding a property vs. setting a property?
Are the two following commits basically the same?

mk.commit("/", "+\"a/key1\" : \"value1\"", null, null);
mk.commit("/", "^\"a/key1\" : \"value1\"", null, null);


Or are there scenarios where adding a property acts differently than
setting a property?

2- Is adding a property twice supposed to work or is it supposed to throw
a MicroKernelException? For example, this seems to work with
MicroKernelImpl but is it supposed to?

        mk.commit("/", "+\"a/key1\" : \"value1\"", null, null);
        mk.commit("/", "+\"a/key1\" : \"value1\"", null, null);

What about setting a property twice?


Thanks,
Mete


Reply via email to