/*
 * $Id: org.eclipse.jdt.ui.prefs 5004 2006-03-17 20:47:08 -0800 (Fri, 17 Mar
 * 2006) jannehietamaki $ $Revision: 5004 $ $Date: 2006-03-17 20:47:08 -0800
 * (Fri, 17 Mar 2006) $
 * 
 * ==============================================================================
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package wicket.protocol.http.portlet;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import wicket.Page;
import wicket.markup.html.pages.AccessDeniedPage;
import wicket.protocol.http.IWebApplicationFactory;
import wicket.protocol.http.WebApplication;
import wicket.protocol.http.WicketFilter;
import wicket.protocol.http.WicketServlet;

/**
 * 
 * Dummy utility servlet to support dynamic resources with portlets
 * 
 * See:
 * 
 * http://weblogs.java.net/blog/wholder/archive/2005/02/session_session.html
 * http://issues.apache.org/jira/browse/PLUTO-53
 * 
 * @author Janne Hietam&auml;ki
 */
public class WicketPortletServlet extends WicketServlet
{
	private static final Log log = LogFactory.getLog(WicketPortletServlet.class);

	private static final long serialVersionUID = 1L;

	protected final IWebApplicationFactory getApplicationFactory()
	{
		return new IWebApplicationFactory()
		{

			public WebApplication createApplication(WicketFilter filter)
			{
				return new WebApplication()
				{

					@Override
					public Class<? extends Page> getHomePage()
					{
						return AccessDeniedPage.class;
					}
				};
			}

		};
	}
}
@@ -1452,16 +1452,49 @@
 ;ki%0A */%0A
+@SuppressWarnings(%22deprecation%22)%0A
 public c

suppress warnings that are not relevant