« Previous | Next » 

Revision 5f1f59bd

ID5f1f59bda711607bcaf7bf63098ba53ff6c159af
Parent 837d8b69

Added by Adrian Föder about 8 years ago

[BUGFIX] Throw exception when using options with singleton validators

Validators being singleton must not be called with options because
the options are then inherent properties of the Validator and cannot
be executed subsequently with other options.

An exception is thrown if such a case occurs because it is then
a design mistake of the developer.

Besides, this improves the namespace use a bit.

Change-Id: I4a7dbaaaf8fa39a3f4677bb43db044a3231b843f
Releases: master, 2.0
Fixes: #34872

  • added
  • modified
  • copied
  • renamed
  • deleted