[midPoint-git] [Evolveum/midpoint] a20fc3: Document thread-safety assumptions for SchemaDescr...
Tony Tkáčik
noreply at github.com
Tue Mar 2 19:01:11 CET 2021
Branch: refs/heads/feature/schema-parsing
Home: https://github.com/Evolveum/midpoint
Commit: a20fc3af7d7d08cb2a5bdc77d2c60e3e897cb84e
https://github.com/Evolveum/midpoint/commit/a20fc3af7d7d08cb2a5bdc77d2c60e3e897cb84e
Author: Tony Tkacik <tonydamage at gmail.com>
Date: 2021-03-02 (Tue, 02 Mar 2021)
Changed paths:
M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/schema/SchemaDescription.java
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/schema/SchemaDescriptionImpl.java
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/schema/SchemaDescriptionParser.java
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/schema/SchemaRegistryImpl.java
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/schema/SchemaSource.java
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/schema/XmlEntityResolverImpl.java
Log Message:
-----------
Document thread-safety assumptions for SchemaDescription
- getDomElement, getSource - are package private contracts now
- document methods used only for testing with @TestOnly
- dynamic sax.InputSource is instance-level synchronized
Commit: 246d1c689b0accd63ece3d0c121b59d15766da1e
https://github.com/Evolveum/midpoint/commit/246d1c689b0accd63ece3d0c121b59d15766da1e
Author: Tony Tkacik <tonydamage at gmail.com>
Date: 2021-03-02 (Tue, 02 Mar 2021)
Changed paths:
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/schema/DomToSchemaProcessor.java
Log Message:
-----------
Removed synchronization lock from DomToSchemaProcessor
- Documented thread-safety assumptions, which are based on
XmlEntityResolverImpl, SchemaDescriptionImpl and SchemaSource
Compare: https://github.com/Evolveum/midpoint/compare/ffd2c307c2b9...246d1c689b0a
More information about the midPoint-svn
mailing list