Fix checkstyle with latest eclipse plugin
@@ -66,8 +66,7 @@ public class StaxSource extends SAXSource implements XMLReader {
// Attributes are handled in START_ELEMENT
case XMLStreamConstants.ATTRIBUTE:
break;
- case XMLStreamConstants.CDATA:
- {
+ case XMLStreamConstants.CDATA: {
if (lexicalHandler != null) {
lexicalHandler.startCDATA();
}
@@ -80,16 +79,14 @@ public class StaxSource extends SAXSource implements XMLReader {
}
break;
}
- case XMLStreamConstants.CHARACTERS:
- {
+ case XMLStreamConstants.CHARACTERS: {
int length = streamReader.getTextLength();
int start = streamReader.getTextStart();
char[] chars = streamReader.getTextCharacters();
contentHandler.characters(chars, start, length);
break;
}
- case XMLStreamConstants.SPACE:
- {
+ case XMLStreamConstants.SPACE: {
int length = streamReader.getTextLength();
int start = streamReader.getTextStart();
char[] chars = streamReader.getTextCharacters();
