Skip to content

Commit

Permalink
minor improvment by avoiding instantiation an empty object
Browse files Browse the repository at this point in the history
  • Loading branch information
must21de committed Jul 30, 2015
1 parent 667d1c3 commit b98df89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2185,7 +2185,7 @@ public WOResponse dispatchRequestImmediately(WORequest request) {
compressedData = ERXCompressionUtilities.gzipByteArrayAsNSData(input._bytesNoCopy(), 0, (int)inputBytesLength);
} else
{
compressedData = new NSData();
compressedData = NSData.EmptyData;
}
}
if ( inputBytesLength > 0 ) {
Expand Down

0 comments on commit b98df89

Please sign in to comment.