11/*
22 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
33 *
4- * Copyright (c) 2012-2015 Oracle and/or its affiliates. All rights reserved.
4+ * Copyright (c) 2012-2016 Oracle and/or its affiliates. All rights reserved.
55 *
66 * The contents of this file are subject to the terms of either the GNU
77 * General Public License Version 2 only ("GPL") or the Common Development
5858import java .util .logging .Level ;
5959import java .util .logging .Logger ;
6060
61+ import javax .ws .rs .RuntimeType ;
62+ import javax .ws .rs .core .Form ;
63+ import javax .ws .rs .core .MediaType ;
64+ import javax .ws .rs .core .MultivaluedMap ;
65+ import javax .ws .rs .core .Response ;
66+ import javax .ws .rs .core .SecurityContext ;
67+
6168import javax .inject .Inject ;
6269import javax .inject .Provider ;
6370import javax .inject .Singleton ;
6875import javax .servlet .http .HttpServletRequest ;
6976import javax .servlet .http .HttpServletResponse ;
7077
71- import javax .ws .rs .RuntimeType ;
72- import javax .ws .rs .core .Form ;
73- import javax .ws .rs .core .MediaType ;
74- import javax .ws .rs .core .MultivaluedMap ;
75- import javax .ws .rs .core .Response ;
76- import javax .ws .rs .core .SecurityContext ;
77-
7878import org .glassfish .jersey .internal .ServiceFinderBinder ;
7979import org .glassfish .jersey .internal .inject .Providers ;
8080import org .glassfish .jersey .internal .inject .ReferencingFactory ;
@@ -128,8 +128,8 @@ public class WebComponent {
128128
129129 private static final Logger LOGGER = Logger .getLogger (WebComponent .class .getName ());
130130
131- private final Type REQUEST_TYPE = (new TypeLiteral <Ref <HttpServletRequest >>() {}).getType ();
132- private final Type RESPONSE_TYPE = (new TypeLiteral <Ref <HttpServletResponse >>() {}).getType ();
131+ private static final Type REQUEST_TYPE = (new TypeLiteral <Ref <HttpServletRequest >>() {}).getType ();
132+ private static final Type RESPONSE_TYPE = (new TypeLiteral <Ref <HttpServletResponse >>() {}).getType ();
133133
134134 private static final AsyncContextDelegate DEFAULT_ASYNC_DELEGATE = new AsyncContextDelegate () {
135135
@@ -146,7 +146,7 @@ public void complete() {
146146 private final RequestScopedInitializerProvider requestScopedInitializer ;
147147 private final boolean requestResponseBindingExternalized ;
148148
149- private final RequestScopedInitializerProvider DEFAULT_REQUEST_SCOPE_INITIALIZER_PROVIDER =
149+ private static final RequestScopedInitializerProvider DEFAULT_REQUEST_SCOPE_INITIALIZER_PROVIDER =
150150 new RequestScopedInitializerProvider () {
151151 @ Override
152152 public RequestScopedInitializer get (final RequestContextProvider context ) {
0 commit comments