Verifies the integrety of the projects, as builds are executed immediately after a code change was detected. This plan provides no artifiacts (use a nightly build instead).
Build: #758 was successful Changes by Aditya Borikar <adityaborikar2@gmail.com> and Florian Schmaus <flo@geekplace.eu>
Code commits
Smack (master)
-
Florian Schmaus <flo@geekplace.eu> 36d61d9e52654c920c3a3289a5ab486f51ec5ba6
Merge pull request #413 from adiaholic/xep-0156
HttpLookupMethod: Position parser at START_ELEMENT before parsing -
Aditya Borikar <adityaborikar2@gmail.com> 7796b367cc779a001a42c7313bbdaf5f50c325b6
Position parser at START_ELEMENT before parsing
This PR aims to provide parseXrdLinkReferencesFor() method the ability
to parse forward to the first START_ELEMENT tag.The HttpLookupMethodTest
tests the HttpLookupMethod class by parsing String. This makes use of
PacketParserUtils.getParserFor(String), which already does forward
winding to reach START_ELEMENT. However when fetching endpoints from a
remote host meta data, PacketParserUtils.getParserFor(InputStream) is
used which doesn't do winding in any form. And thus, even though
HttpLookupMethodTest tests pass, this implementation would crash while
parsing remote host-meta.- smack-core/src/main/java/org/jivesoftware/smack/altconnections/HttpLookupMethod.java (version 7796b367cc779a001a42c7313bbdaf5f50c325b6) (diffs)
- smack-core/src/main/java/org/jivesoftware/smack/util/PacketParserUtils.java (version 7796b367cc779a001a42c7313bbdaf5f50c325b6) (diffs)
- smack-core/src/main/java/org/jivesoftware/smack/util/ParserUtils.java (version 7796b367cc779a001a42c7313bbdaf5f50c325b6) (diffs)