jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Parvulescu <alex.parvule...@gmail.com>
Subject NodeBuilder#setProperty using the same value
Date Wed, 05 Jun 2013 12:32:21 GMT

I'm wondering if we could turn the NodeBuilder#setProperty into a noop when
setting the same value on a property.

I'm doing that without even thinking about it in the lucene module, and I
suspect there are other bits that fallback to the same idea.

RIght now it looks like in some cases is increases the revision, and in
turn it will probably force the commit to run some diffs only to find that
the nodestates are in fact equal.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message