Skip to content

Commit

Permalink
Fix string comparison
Browse files Browse the repository at this point in the history
Also remove a redundant return
  • Loading branch information
SamWhited committed Jul 5, 2016
1 parent 320b83a commit 11e5fb0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ synchronized private XMPPError startJibri(
startIq.setType(IQ.Type.SET);
startIq.setAction(JibriIq.Action.START);

if (streamId != "")
if ("".equals(streamId))
{
startIq.setStreamId(streamId);
}
Expand Down Expand Up @@ -374,7 +374,6 @@ public void run()
if (err != null)
{
sendPacket(IQ.createErrorResponse(iq, err));
return;
}
}
});
Expand Down

0 comments on commit 11e5fb0

Please sign in to comment.