@@ -196,26 +196,26 @@ public static void marshallItem(final DBBroker broker, final Item item, final Co
196196 }
197197 }
198198
199- public static Sequence demarshall (DBBroker broker , Reader reader ) throws XMLStreamException , XPathException {
199+ public static Sequence demarshall (final Reader reader ) throws XMLStreamException , XPathException {
200200 final XMLInputFactory factory = XMLInputFactory .newInstance ();
201201 factory .setProperty (XMLInputFactory .IS_NAMESPACE_AWARE , Boolean .TRUE );
202202 factory .setProperty (XMLInputFactory .IS_VALIDATING , Boolean .FALSE );
203203 final XMLStreamReader parser = factory .createXMLStreamReader (reader );
204- return demarshall (broker , parser );
204+ return demarshall (parser );
205205 }
206206
207- public static Sequence demarshall (DBBroker broker , Node n ) throws XMLStreamException , XPathException {
207+ public static Sequence demarshall (final Node n ) throws XMLStreamException , XPathException {
208208 final DOMSource source = new DOMSource (n , null );
209209 final XMLInputFactory factory = XMLInputFactory .newInstance ();
210210 factory .setProperty (XMLInputFactory .IS_NAMESPACE_AWARE , Boolean .TRUE );
211211 factory .setProperty (XMLInputFactory .IS_VALIDATING , Boolean .FALSE );
212212
213213 final XMLStreamReader parser = factory .createXMLStreamReader (source );
214- return demarshall (broker , parser );
214+ return demarshall (parser );
215215
216216 }
217217
218- public static Sequence demarshall (DBBroker broker , XMLStreamReader parser ) throws XMLStreamException , XPathException {
218+ public static Sequence demarshall (final XMLStreamReader parser ) throws XMLStreamException , XPathException {
219219 int event = parser .next ();
220220 while (event != XMLStreamConstants .START_ELEMENT ) {
221221 event = parser .next ();
0 commit comments