Fix sonar warnings in blueprint bundle 65/63265/4
authorTom Pantelis <tompantelis@gmail.com>
Tue, 19 Sep 2017 08:18:39 +0000 (04:18 -0400)
committerTom Pantelis <tompantelis@gmail.com>
Tue, 19 Sep 2017 19:00:02 +0000 (15:00 -0400)
- Lambdas and anonymous classes should not have too many lines
- Collapsible "if" statements should be merged
- Methods should not be too complex (Cyclomatic Complexity)
- String literals should not be duplicated
- Exception handlers should preserve the original exception
- Nested blocks of code should not be left empty

Also migrated the code to the DOMSchemaService in lieu of the
deprecated SchemaService interface.

Change-Id: I3fd51c9124fd5ebe3488c1167f3f7dd18f258314
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>

No differences found