summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Liebig2008-02-12 09:15:48 (EST)
committerStefan Liebig2008-02-12 09:15:48 (EST)
commite5dad61ca4bbe16c3af6d52603626c4503b3a0de (patch)
tree7ebe849b42d612b0465684f5363e99698f758da0
parent9dbd3031ff4cbed044e4b9d9a1f02325bb395f1e (diff)
downloadorg.eclipse.riena-e5dad61ca4bbe16c3af6d52603626c4503b3a0de.zip
org.eclipse.riena-e5dad61ca4bbe16c3af6d52603626c4503b3a0de.tar.gz
org.eclipse.riena-e5dad61ca4bbe16c3af6d52603626c4503b3a0de.tar.bz2
preened
-rw-r--r--org.eclipse.riena.communication.core/src/org/eclipse/riena/internal/communication/core/Activator.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/org.eclipse.riena.communication.core/src/org/eclipse/riena/internal/communication/core/Activator.java b/org.eclipse.riena.communication.core/src/org/eclipse/riena/internal/communication/core/Activator.java
index b4e71a4..d47d65e 100644
--- a/org.eclipse.riena.communication.core/src/org/eclipse/riena/internal/communication/core/Activator.java
+++ b/org.eclipse.riena.communication.core/src/org/eclipse/riena/internal/communication/core/Activator.java
@@ -45,12 +45,8 @@ public class Activator implements BundleActivator {
System.out.println("after call (in hook) method=" + context.getMethodName());
Map<String, List<String>> headers = context.getMessageContext().listResponseHeaders();
if (headers != null) {
- for (String hName : headers.keySet()) {
- StringBuffer sb = new StringBuffer();
- for (String hValue : headers.get(hName)) {
- sb.append(hValue + ", ");
- }
- System.out.println("header: name:" + hName + " value:" + sb);
+ for (Map.Entry<String, List<String>> entry : headers.entrySet()) {
+ System.out.println("header: name:" + entry.getKey() + " value: " + entry.getValue());
}
}
}