comparison src/org/eclipse/jetty/server/CookieCutter.java @ 820:8e9db0bbf4f9

remove org.eclipse.jetty.util.log and upgrade slf4j
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 13 Sep 2016 23:13:06 -0600
parents 3428c60d7cfc
children
comparison
equal deleted inserted replaced
819:17bd0b170ed6 820:8e9db0bbf4f9
21 21
22 import javax.servlet.http.Cookie; 22 import javax.servlet.http.Cookie;
23 23
24 import org.eclipse.jetty.util.LazyList; 24 import org.eclipse.jetty.util.LazyList;
25 import org.eclipse.jetty.util.QuotedStringTokenizer; 25 import org.eclipse.jetty.util.QuotedStringTokenizer;
26 import org.eclipse.jetty.util.log.Log; 26 import org.slf4j.Logger;
27 import org.eclipse.jetty.util.log.Logger; 27 import org.slf4j.LoggerFactory;
28 28
29 29
30 /* ------------------------------------------------------------ */ 30 /* ------------------------------------------------------------ */
31 /** Cookie parser 31 /** Cookie parser
32 * <p>Optimized stateful cookie parser. Cookies fields are added with the 32 * <p>Optimized stateful cookie parser. Cookies fields are added with the
37 * 37 *
38 * 38 *
39 */ 39 */
40 public class CookieCutter 40 public class CookieCutter
41 { 41 {
42 private static final Logger LOG = Log.getLogger(CookieCutter.class); 42 private static final Logger LOG = LoggerFactory.getLogger(CookieCutter.class);
43 43
44 44
45 private Cookie[] _cookies; 45 private Cookie[] _cookies;
46 private Cookie[] _lastCookies; 46 private Cookie[] _lastCookies;
47 Object _lazyFields; 47 Object _lazyFields;
317 cookies = LazyList.add(cookies, cookie); 317 cookies = LazyList.add(cookies, cookie);
318 } 318 }
319 } 319 }
320 catch (Exception e) 320 catch (Exception e)
321 { 321 {
322 LOG.debug(e); 322 LOG.debug("",e);
323 } 323 }
324 324
325 name = null; 325 name = null;
326 value = null; 326 value = null;
327 } 327 }