diff options
Diffstat (limited to 'projects')
| -rw-r--r-- | projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOResponse.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOResponse.java b/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOResponse.java index 0b436fc..af2dfed 100644 --- a/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOResponse.java +++ b/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOResponse.java @@ -115,7 +115,8 @@ public class WOResponse extends WOMessage implements WOActionResults { f = _headers.allKeys().objectEnumerator(); while (f.hasMoreElements()) { key = f.nextElement().toString(); - e = ((NSArray<String>) _headers.objectForKey(key)).objectEnumerator(); + NSArray<String> headArr = (NSArray<String>) _headers.objectForKey(key); + e = headArr.objectEnumerator(); if (e.hasMoreElements()) { // overwrite existing header response.setHeader(key, e.nextElement().toString()); |
