From c99182b3b88f6fb6a21c0c99c338c7be6304701c Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@hostsharing.net>
Date: Thu, 19 May 2011 13:49:13 +0200
Subject: [PATCH] nur Formatierung

---
 hsarjcli/src/de/hsadmin/cli/HSadmin.java |    6 ++----
 1 files 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 @@
 				+ "\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 {

--
Gitblit v1.9.3