/[Apache-SVN]
ViewVC logotype

Revision 1787953


Jump to revision: Previous Next
Author: kwin
Date: Tue Mar 21 12:35:26 2017 UTC (7 years, 2 months ago)
Changed paths: 2
Log Message:
SLING-6659 prevent NPE by creating the ValidatorMap in the constructor rather than in its activate method

Even for dynamic service references, the bind might be called during the activate (or even before), see http://stackoverflow.com/a/15782806/5155923

Changed paths

Path Details
Directorysling/trunk/bundles/extensions/validation/core/src/main/java/org/apache/sling/validation/impl/ValidationServiceImpl.java modified , text changed
Directorysling/trunk/bundles/extensions/validation/core/src/test/java/org/apache/sling/validation/impl/ValidationServiceImplTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26