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