nur Formatierung
This commit is contained in:
parent
c464f55e9a
commit
c99182b3b8
@ -269,10 +269,8 @@ public class HSadmin {
|
||||
+ "\n--- end of args. ---");
|
||||
httpReq.setRequestData(argsAsString.toString());
|
||||
int code = httpReq.put();
|
||||
List<String> hsadminErrors = httpReq
|
||||
.getResponseHeader("X-hsadmin-error");
|
||||
if (hsadminErrors != null && hsadminErrors.size() > 0
|
||||
&& hsadminErrors.get(0) != null) {
|
||||
List<String> hsadminErrors = httpReq.getResponseHeader("X-hsadmin-error");
|
||||
if (hsadminErrors != null && hsadminErrors.size() > 0 && hsadminErrors.get(0) != null) {
|
||||
throw new RuntimeException(hsadminErrors.get(0));
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user