You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by jw...@apache.org on 2008/11/18 02:59:34 UTC
svn commit: r718469 - in /myfaces/trinidad/trunk_1.2.x:
trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/
trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/change/
trinidad-impl/src/main/java/org/apache/myfaces/trinidadintern...
Author: jwaldman
Date: Mon Nov 17 17:59:34 2008
New Revision: 718469
URL: http://svn.apache.org/viewvc?rev=718469&view=rev
Log:
TRINIDAD-1309 move NullChangeManager to public api
trunk_1.2.x
Added:
myfaces/trinidad/trunk_1.2.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/NullChangeManager.java
Modified:
myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/change/NullChangeManager.java
myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java
Added: myfaces/trinidad/trunk_1.2.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/NullChangeManager.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/NullChangeManager.java?rev=718469&view=auto
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/NullChangeManager.java (added)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/NullChangeManager.java Mon Nov 17 17:59:34 2008
@@ -0,0 +1,51 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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 org.apache.myfaces.trinidad.change;
+
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+
+/**
+ * An ChangeManager implementation that is all a no-op.
+ *
+ */
+public class NullChangeManager extends ChangeManager
+{
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public void addComponentChange(
+ FacesContext facesContext,
+ UIComponent uiComponent,
+ ComponentChange change)
+ {
+ // do nothing
+ }
+
+ /**
+ * {@inheritDoc}
+ * @param facesContext The FacesContext instance for the current request.
+ */
+ @Override
+ public void applyComponentChangesForCurrentView(FacesContext facesContext)
+ {
+ //no-op
+ }
+}
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/change/NullChangeManager.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/change/NullChangeManager.java?rev=718469&r1=718468&r2=718469&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/change/NullChangeManager.java (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/change/NullChangeManager.java Mon Nov 17 17:59:34 2008
@@ -18,38 +18,12 @@
*/
package org.apache.myfaces.trinidadinternal.change;
-import javax.faces.component.UIComponent;
-import javax.faces.context.FacesContext;
-
-import org.apache.myfaces.trinidad.change.ChangeManager;
-import org.apache.myfaces.trinidad.change.ComponentChange;
-
-
-/**
- * An ChangeManager implementation that is all a no-op.
- *
- */
-public class NullChangeManager extends ChangeManager
+ /**
+ * For backwards compatibility only. Deprecated in 1.x.10, and will soon be removed.
+ * @deprecated
+ */
+ @Deprecated
+public class NullChangeManager extends org.apache.myfaces.trinidad.change.NullChangeManager
{
- /**
- * {@inheritDoc}
- */
- @Override
- public void addComponentChange(
- FacesContext facesContext,
- UIComponent uiComponent,
- ComponentChange change)
- {
- // do nothing
- }
- /**
- * {@inheritDoc}
- * @param facesContext The FacesContext instance for the current request.
- */
- @Override
- public void applyComponentChangesForCurrentView(FacesContext facesContext)
- {
- //no-op
- }
}
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java?rev=718469&r1=718468&r2=718469&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java Mon Nov 17 17:59:34 2008
@@ -38,6 +38,7 @@
import javax.faces.context.FacesContext;
import org.apache.myfaces.trinidad.change.ChangeManager;
+import org.apache.myfaces.trinidad.change.NullChangeManager;
import org.apache.myfaces.trinidad.change.SessionChangeManager;
import org.apache.myfaces.trinidad.config.RegionManager;
import org.apache.myfaces.trinidad.context.AccessibilityProfile;
@@ -59,7 +60,6 @@
import org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl;
import org.apache.myfaces.trinidadinternal.agent.TrinidadAgentImpl;
import org.apache.myfaces.trinidadinternal.application.StateManagerImpl;
-import org.apache.myfaces.trinidadinternal.change.NullChangeManager;
import org.apache.myfaces.trinidadinternal.el.FormatterMap;
import org.apache.myfaces.trinidadinternal.el.HelpProvider;
import org.apache.myfaces.trinidadinternal.el.OracleHelpProvider;