You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2009/10/27 08:25:25 UTC
svn commit: r830082 -
/myfaces/extensions/scripting/trunk/core/myfaces2-extensions/src/main/java/org/apache/myfaces/scripting/jsf/dynamicdecorators/implemetations/ApplicationProxy.java
Author: werpu
Date: Tue Oct 27 07:25:24 2009
New Revision: 830082
URL: http://svn.apache.org/viewvc?rev=830082&view=rev
Log:
https://issues.apache.org/jira/browse/EXTSCRIPT-26
changed a comment, regarding the double bookkeeping of the behavior ids
Modified:
myfaces/extensions/scripting/trunk/core/myfaces2-extensions/src/main/java/org/apache/myfaces/scripting/jsf/dynamicdecorators/implemetations/ApplicationProxy.java
Modified: myfaces/extensions/scripting/trunk/core/myfaces2-extensions/src/main/java/org/apache/myfaces/scripting/jsf/dynamicdecorators/implemetations/ApplicationProxy.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/core/myfaces2-extensions/src/main/java/org/apache/myfaces/scripting/jsf/dynamicdecorators/implemetations/ApplicationProxy.java?rev=830082&r1=830081&r2=830082&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/core/myfaces2-extensions/src/main/java/org/apache/myfaces/scripting/jsf/dynamicdecorators/implemetations/ApplicationProxy.java (original)
+++ myfaces/extensions/scripting/trunk/core/myfaces2-extensions/src/main/java/org/apache/myfaces/scripting/jsf/dynamicdecorators/implemetations/ApplicationProxy.java Tue Oct 27 07:25:24 2009
@@ -56,12 +56,17 @@
public class ApplicationProxy extends Application implements Decorated {
Application _delegate = null;
- private static final String ERR_CONV_ANN_MOVED = "Converter annotation moved but target was not found";
- private static final String ERR_ANN_VAL_MOVED = "Annotation on validator removed but no replacement found";
- private static final String ERR_ANN_COMP_MOVED = "Annotation on component removed but no replacement found";
- private static final String ERR_BEH_NOTFOUND = "Behavior annotation was moved but could not be found";
-
- //TODO add purged mapa here as well, for the getBehaviorIds etc...
+ private static final String ERR_CONV_ANN_MOVED = "Converter annotation moved but target was not found";
+ private static final String ERR_ANN_VAL_MOVED = "Annotation on validator removed but no replacement found";
+ private static final String ERR_ANN_COMP_MOVED = "Annotation on component removed but no replacement found";
+ private static final String ERR_BEH_NOTFOUND = "Behavior annotation was moved but could not be found";
+
+ /*
+ * separate map needed for the behavior ids, because
+ * the original is immutable
+ * we have to do a double bookkeeping
+ * here
+ */
Map <String, String>_behaviors = new ConcurrentHashMap();