[platform] removes obsolete EA response workaround (EXA-580)

This commit is contained in:
Roman Shevchenko
2019-02-07 10:06:56 +01:00
parent e73f8bb42a
commit d1b59f3d1d
@@ -175,9 +175,6 @@ class ITNProxy {
HttpURLConnection connection = post(new URL(NEW_THREAD_POST_URL), createRequest(login, password, error));
int responseCode = connection.getResponseCode();
if (responseCode == HttpURLConnection.HTTP_BAD_REQUEST && StringUtil.isEmpty(password)) {
throw new NoSuchEAPUserException(login);
}
if (responseCode != HttpURLConnection.HTTP_OK) {
throw new InternalEAPException(DiagnosticBundle.message("error.http.result.code", responseCode));
}