nur Formatierung

This commit is contained in:
Peter Hormanns 2011-05-19 11:49:13 +00:00
parent c464f55e9a
commit c99182b3b8

View File

@ -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 {