From 89fea15a17771683e26e6f917c6409eda74fdbb0 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Sun, 13 Dec 2009 21:16:37 +0100 Subject: [PATCH] Fixed an AcceptMap bug. --- src/dolda/jsvc/util/AcceptMap.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dolda/jsvc/util/AcceptMap.java b/src/dolda/jsvc/util/AcceptMap.java index b74cace..d632ceb 100644 --- a/src/dolda/jsvc/util/AcceptMap.java +++ b/src/dolda/jsvc/util/AcceptMap.java @@ -81,10 +81,10 @@ public class AcceptMap implements Iterable { e2.q = q; flush = true; st = "ap"; - } else if(st == "ap") { + } else { e.pars.put(key, val); } - } else { + } else if(st == "ap") { /* No known accept-params */ } if(psep < 0) { -- 2.11.0