You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2007/03/06 01:26:20 UTC
svn commit: r514934 -
/tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/TapestryFilter.java
Author: hlship
Date: Mon Mar 5 16:26:20 2007
New Revision: 514934
URL: http://svn.apache.org/viewvc?view=rev&rev=514934
Log:
TAPESTRY-1291: Remove unnecessary synchronized keywords (added while tracking down the problem).
Modified:
tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/TapestryFilter.java
Modified: tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/TapestryFilter.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/TapestryFilter.java?view=diff&rev=514934&r1=514933&r2=514934
==============================================================================
--- tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/TapestryFilter.java (original)
+++ tapestry/tapestry5/tapestry-core/trunk/src/main/java/org/apache/tapestry/TapestryFilter.java Mon Mar 5 16:26:20 2007
@@ -1,4 +1,4 @@
-// Copyright 2006 The Apache Software Foundation
+// Copyright 2006, 2007 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -58,9 +58,8 @@
* defined by the <code>tapestry.app-package</code> context init parameter and the application
* name is the capitalization of the filter name (as specified in web.xml).
*/
- // Why synchronized? To tell the JVM to flush out any changes (such as the creation of the Registry) that
- // occur within this method. It's just that runtime behavior has gotten strange.
- public synchronized final void init(FilterConfig filterConfig) throws ServletException
+
+ public final void init(FilterConfig filterConfig) throws ServletException
{
_config = filterConfig;