Skip to content

Commit

Permalink
Fixes #1479
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand committed Feb 24, 2014
1 parent d28923f commit a0262bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public byte[] transformPayload(AtmosphereResponse response, byte[] responseDraft
CharBuffer cb = inCharset.newDecoder().decode(ByteBuffer.wrap(responseDraft, 0, responseDraft.length));
String s = cb.toString();

if (s.trim().length() == 0 || s.indexOf(endString) != -1) {
if (s.trim().length() == 0) {
return responseDraft;
}

Expand Down

0 comments on commit a0262bf

Please sign in to comment.