Skip to content

Conversation

@i386
Copy link

@i386 i386 commented Aug 24, 2016

Allows ircbot-plugin to compile against jenkinsci/instant-messaging-plugin#15

@jenkinsci/code-reviewers

} else {
String line = colorForBuildResult(message);
if (line == message) { // line didn't contain a build result
if (line.equals(message)) { // line didn't contain a build result
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if line is null? I was elsewhere advised to use comparisons rather than .equals() with a risk of NPE (or make the nullness checks explicit).

@jimklimov
Copy link
Contributor

@i386 : is this PR still valid in its premise? The plugin seems to compile over the past years, and this PR mostly seems to bring Java style fixes and one functional change (number of args for PircListener ctor)...

@sladyn98
Copy link

sladyn98 commented Apr 1, 2020

Is this PR still valid ?

@timja
Copy link
Member

timja commented Nov 1, 2020

@i386 : is this PR still valid in its premise? The plugin seems to compile over the past years, and this PR mostly seems to bring Java style fixes and one functional change (number of args for PircListener ctor)...

Ideally this PR would be resurrected: jenkinsci/instant-messaging-plugin#15
and then this PR would be relevant again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants