Merge pull request #1916 from guusdk/OF-2328_Cache-locking-non-clustered OF-2328: Implement optional Lock functionality for local locks
Dan Caseley <dan@caseley.me.uk>
43b08ca964fd0d4cc5b881e18077ed18453f9c97
Merge pull request #1915 from guusdk/OF-2329_XML-parser-whitespace-after-tag-name OF-2329: Fix XML parser behavior when detecting the name of the start tag
OF-2328: Implement optional Lock functionality for local locks
The clustered locks (based on Hazelcast) have some methods implemented that are not available in the non-clustered code.
The changes that have been applied to MUC's clustering implementation (OF-2220 for example) has introduced usage of these optional methods. This results in failing functionality when running Openfire in a non-clustered setup.
This commit adds an implementation for these optional methods.
OF-2329: Fix XML parser behavior when detecting the name of the start tag
The name of the start tag is possibly terminated by any newline character (eg: a newline character), not only the space character.