From c99182b3b88f6fb6a21c0c99c338c7be6304701c Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Thu, 19 May 2011 11:49:13 +0000 Subject: [PATCH] nur Formatierung --- hsarjcli/src/de/hsadmin/cli/HSadmin.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hsarjcli/src/de/hsadmin/cli/HSadmin.java b/hsarjcli/src/de/hsadmin/cli/HSadmin.java index 2b9dd37..47f3191 100644 --- a/hsarjcli/src/de/hsadmin/cli/HSadmin.java +++ b/hsarjcli/src/de/hsadmin/cli/HSadmin.java @@ -269,10 +269,8 @@ public class HSadmin { + "\n--- end of args. ---"); httpReq.setRequestData(argsAsString.toString()); int code = httpReq.put(); - List hsadminErrors = httpReq - .getResponseHeader("X-hsadmin-error"); - if (hsadminErrors != null && hsadminErrors.size() > 0 - && hsadminErrors.get(0) != null) { + List hsadminErrors = httpReq.getResponseHeader("X-hsadmin-error"); + if (hsadminErrors != null && hsadminErrors.size() > 0 && hsadminErrors.get(0) != null) { throw new RuntimeException(hsadminErrors.get(0)); } else {