fix(style): Style fixes
This commit is contained in:
parent
f3d906e69b
commit
09b8613c80
@ -750,7 +750,9 @@ class XmppConnection {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
if (!incomingHandlers.done) {
|
if (!incomingHandlers.done) {
|
||||||
_log.warning('Returning error for unhandled stanza ${incomingPreHandlers.stanza.tag}');
|
_log.warning(
|
||||||
|
'Returning error for unhandled stanza ${incomingPreHandlers.stanza.tag}',
|
||||||
|
);
|
||||||
await handleUnhandledStanza(this, incomingPreHandlers);
|
await handleUnhandledStanza(this, incomingPreHandlers);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -71,9 +71,13 @@ class XMPPStreamParser extends StreamTransformerBase<String, XMPPStreamObject> {
|
|||||||
|
|
||||||
/// The selectors.
|
/// The selectors.
|
||||||
_ChunkedConversionBuffer<List<XmlEvent>, XmlEvent> _childSelector =
|
_ChunkedConversionBuffer<List<XmlEvent>, XmlEvent> _childSelector =
|
||||||
_ChunkedConversionBuffer<List<XmlEvent>, XmlEvent>(XmlSubtreeSelector((event) => event.qualifiedName != 'stream:stream'));
|
_ChunkedConversionBuffer<List<XmlEvent>, XmlEvent>(
|
||||||
|
XmlSubtreeSelector((event) => event.qualifiedName != 'stream:stream'),
|
||||||
|
);
|
||||||
_ChunkedConversionBuffer<List<XmlEvent>, XmlEvent> _streamHeaderSelector =
|
_ChunkedConversionBuffer<List<XmlEvent>, XmlEvent> _streamHeaderSelector =
|
||||||
_ChunkedConversionBuffer<List<XmlEvent>, XmlEvent>(XmlSubtreeSelector((event) => event.qualifiedName == 'stream:stream'));
|
_ChunkedConversionBuffer<List<XmlEvent>, XmlEvent>(
|
||||||
|
XmlSubtreeSelector((event) => event.qualifiedName == 'stream:stream'),
|
||||||
|
);
|
||||||
|
|
||||||
void reset() {
|
void reset() {
|
||||||
try {
|
try {
|
||||||
@ -104,9 +108,12 @@ class XMPPStreamParser extends StreamTransformerBase<String, XMPPStreamObject> {
|
|||||||
_childBuffer = _ChunkedConversionBuffer<List<XmlEvent>, XmlNode>(
|
_childBuffer = _ChunkedConversionBuffer<List<XmlEvent>, XmlNode>(
|
||||||
const XmlNodeDecoder(),
|
const XmlNodeDecoder(),
|
||||||
);
|
);
|
||||||
_childSelector = _ChunkedConversionBuffer<List<XmlEvent>, XmlEvent>(XmlSubtreeSelector((event) => event.qualifiedName != 'stream:stream'));
|
_childSelector = _ChunkedConversionBuffer<List<XmlEvent>, XmlEvent>(
|
||||||
_streamHeaderSelector =
|
XmlSubtreeSelector((event) => event.qualifiedName != 'stream:stream'),
|
||||||
_ChunkedConversionBuffer<List<XmlEvent>, XmlEvent>(XmlSubtreeSelector((event) => event.qualifiedName == 'stream:stream'));
|
);
|
||||||
|
_streamHeaderSelector = _ChunkedConversionBuffer<List<XmlEvent>, XmlEvent>(
|
||||||
|
XmlSubtreeSelector((event) => event.qualifiedName == 'stream:stream'),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
Loading…
Reference in New Issue
Block a user