diff options
| author | Benjamin Culkin <scorpress@gmail.com> | 2024-10-13 17:18:19 -0400 |
|---|---|---|
| committer | Benjamin Culkin <scorpress@gmail.com> | 2024-10-13 17:18:19 -0400 |
| commit | 3b4fbed3a6a4c2a57e53324260827d1ce13b3133 (patch) | |
| tree | cfa82b8aa7e7ce53ab2aea7000f9f16f51a9814d /projects/net.wotonomy.web/src/main/java/net/wotonomy | |
| parent | efbf2608a8c3085d49d7df74fa3eca107a703f62 (diff) | |
Minor cleanup
Diffstat (limited to 'projects/net.wotonomy.web/src/main/java/net/wotonomy')
| -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()); |
