<mavenBuild _class='hudson.maven.MavenBuild'><action _class='hudson.maven.reporters.SurefireReport'><failCount>0</failCount><skipCount>0</skipCount><totalCount>2</totalCount><urlName>testReport</urlName></action><action></action><action _class='hudson.maven.reporters.MavenArtifactRecord'><attachedArtifact><artifactId>bungeecord-api</artifactId><canonicalName>bungeecord-api-1.7-20140611.061104-214-javadoc.jar</canonicalName><classifier>javadoc</classifier><fileName>bungeecord-api-1.7-SNAPSHOT-javadoc.jar</fileName><groupId>net.md-5</groupId><md5sum>fa546797f40a43300f61f76bb4318706</md5sum><type>javadoc</type><version>1.7-20140611.061104-214</version></attachedArtifact><attachedArtifact><artifactId>bungeecord-api</artifactId><canonicalName>bungeecord-api-1.7-20140611.061104-214-sources.jar</canonicalName><classifier>sources</classifier><fileName>bungeecord-api-1.7-SNAPSHOT-sources.jar</fileName><groupId>net.md-5</groupId><md5sum>c565878d57749196bb06b3b8e5654bad</md5sum><type>java-source</type><version>1.7-20140611.061104-214</version></attachedArtifact><mainArtifact><artifactId>bungeecord-api</artifactId><canonicalName>bungeecord-api-1.7-20140611.061104-214.jar</canonicalName><fileName>bungeecord-api-1.7-SNAPSHOT.jar</fileName><groupId>net.md-5</groupId><md5sum>c2f90399d46ff159d3a63ddef897ed5b</md5sum><type>jar</type><version>1.7-20140611.061104-214</version></mainArtifact><parent><number>916</number><url>https://hub.spigotmc.org/jenkins/job/BungeeCord/net.md-5$bungeecord-api/916/</url></parent><pomArtifact><artifactId>bungeecord-api</artifactId><canonicalName>bungeecord-api-1.7-SNAPSHOT.pom</canonicalName><fileName>pom.xml</fileName><groupId>net.md-5</groupId><md5sum>af4269ab8ccfd331a6eb13337e0c5b8e</md5sum><type>pom</type><version>1.7-SNAPSHOT</version></pomArtifact><url>https://hub.spigotmc.org/jenkins/job/BungeeCord/net.md-5$bungeecord-api/916/mavenArtifacts/</url></action><action _class='org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction'><artifactsUrl>https://hub.spigotmc.org/jenkins/job/BungeeCord/916/net.md-5$bungeecord-api/artifact</artifactsUrl><changesUrl>https://hub.spigotmc.org/jenkins/job/BungeeCord/net.md-5$bungeecord-api/changes</changesUrl><displayUrl>https://hub.spigotmc.org/jenkins/job/BungeeCord/916/net.md-5$bungeecord-api/</displayUrl><testsUrl>https://hub.spigotmc.org/jenkins/job/BungeeCord/916/net.md-5$bungeecord-api/testReport</testsUrl></action><building>false</building><displayName>BungeeCord-API</displayName><duration>16178</duration><estimatedDuration>12390</estimatedDuration><fullDisplayName>BungeeCord » BungeeCord-API BungeeCord-API</fullDisplayName><id>2014-06-11_02-10-08</id><inProgress>false</inProgress><keepLog>false</keepLog><number>916</number><queueId>-1</queueId><result>SUCCESS</result><timestamp>1402467008000</timestamp><url>https://hub.spigotmc.org/jenkins/job/BungeeCord/net.md-5$bungeecord-api/916/</url><builtOn></builtOn><changeSet _class='hudson.maven.FilteredChangeLogSet'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>api/src/main/java/net/md_5/bungee/api/ServerPing.java</affectedPath><commitId>107d6b011db98e549b401ae56daa01d2701ad287</commitId><timestamp>1402430960000</timestamp><author><absoluteUrl>https://hub.spigotmc.org/jenkins/user/md_5</absoluteUrl><fullName>md_5</fullName></author><authorEmail>git@md-5.net</authorEmail><comment>Fix ServerPing NPE w/ String favicons

Currently, passing a null favicon String to the ServerPing(Protocol, Players, String, String) constructor causes a NPE. However, passing a null `Favicon` object to the corresponding constructor does not cause one. Setting the favicon String using the setFavicon(String) method doesn't cause a NPE either.

Therefore, the NPE thrown by the constructor is inconsistent and should be avoided. Please find a sample NPE here: http://newpaste.md-5.net/pmtqjc8vl (Note the `null` favicon)

This PR changes the documented (unintended?) behaviour by adding a null check before passing the favicon String to the alternative `Favicon` object constructor. This makes the constructor consistent with the other one and the `setFavicon(String)` method. This also adds compatibility for old (made before Favicon API) plugins passing `null` favicon Strings (and expecting no favicon to be displayed instead of a NPE).

Thanks!
</comment><date>2014-06-11T06:09:20+1000</date><id>107d6b011db98e549b401ae56daa01d2701ad287</id><msg>Fix ServerPing NPE w/ String favicons</msg><path><editType>edit</editType><file>api/src/main/java/net/md_5/bungee/api/ServerPing.java</file></path></item></changeSet><culprit><absoluteUrl>https://hub.spigotmc.org/jenkins/user/md_5</absoluteUrl><description></description><fullName>md_5</fullName><id>md_5</id></culprit><mavenArtifacts><attachedArtifact><artifactId>bungeecord-api</artifactId><canonicalName>bungeecord-api-1.7-20140611.061104-214-javadoc.jar</canonicalName><classifier>javadoc</classifier><fileName>bungeecord-api-1.7-SNAPSHOT-javadoc.jar</fileName><groupId>net.md-5</groupId><md5sum>fa546797f40a43300f61f76bb4318706</md5sum><type>javadoc</type><version>1.7-20140611.061104-214</version></attachedArtifact><attachedArtifact><artifactId>bungeecord-api</artifactId><canonicalName>bungeecord-api-1.7-20140611.061104-214-sources.jar</canonicalName><classifier>sources</classifier><fileName>bungeecord-api-1.7-SNAPSHOT-sources.jar</fileName><groupId>net.md-5</groupId><md5sum>c565878d57749196bb06b3b8e5654bad</md5sum><type>java-source</type><version>1.7-20140611.061104-214</version></attachedArtifact><mainArtifact><artifactId>bungeecord-api</artifactId><canonicalName>bungeecord-api-1.7-20140611.061104-214.jar</canonicalName><fileName>bungeecord-api-1.7-SNAPSHOT.jar</fileName><groupId>net.md-5</groupId><md5sum>c2f90399d46ff159d3a63ddef897ed5b</md5sum><type>jar</type><version>1.7-20140611.061104-214</version></mainArtifact><parent><number>916</number><url>https://hub.spigotmc.org/jenkins/job/BungeeCord/net.md-5$bungeecord-api/916/</url></parent><pomArtifact><artifactId>bungeecord-api</artifactId><canonicalName>bungeecord-api-1.7-SNAPSHOT.pom</canonicalName><fileName>pom.xml</fileName><groupId>net.md-5</groupId><md5sum>af4269ab8ccfd331a6eb13337e0c5b8e</md5sum><type>pom</type><version>1.7-SNAPSHOT</version></pomArtifact><url>https://hub.spigotmc.org/jenkins/job/BungeeCord/net.md-5$bungeecord-api/916/mavenArtifacts/</url></mavenArtifacts></mavenBuild>