File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/ning/http/client/providers/netty/handler Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,11 +136,11 @@ protected boolean exitAfterHandlingRedirect(//
136136 requestBuilder .setBodyEncoding (request .getBodyEncoding ());
137137 if (MiscUtils .isNonEmpty (request .getFormParams ()))
138138 requestBuilder .setFormParams (request .getFormParams ());
139- if (request .getStringData () != null )
139+ else if (request .getStringData () != null )
140140 requestBuilder .setBody (request .getStringData ());
141- if (request .getByteData () != null )
141+ else if (request .getByteData () != null )
142142 requestBuilder .setBody (request .getByteData ());
143- if (request .getBodyGenerator () != null )
143+ else if (request .getBodyGenerator () != null )
144144 requestBuilder .setBody (request .getBodyGenerator ());
145145 }
146146
You can’t perform that action at this time.
0 commit comments