[android] Changed http uploader status code default initialization

This commit is contained in:
Dmitry Donskoy 2019-02-15 16:21:36 +03:00 committed by Aleksandr Zatsepin
parent d01dd66c54
commit bf46dd7049

View file

@ -72,7 +72,7 @@ public final class HttpUploader
public Result upload()
{
int status;
int status = STATUS_CODE_UNKNOWN;
String message;
PrintWriter writer = null;
BufferedReader reader = null;
@ -124,7 +124,6 @@ public final class HttpUploader
}
catch (IOException e)
{
status = STATUS_CODE_UNKNOWN;
message = "I/O exception '" + Utils.makeUrlSafe(mUrl) + "'";
if (connection != null)
{