You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by gb...@apache.org on 2010/08/27 17:57:26 UTC

svn commit: r990184 - /pivot/trunk/core/src/org/apache/pivot/beans/NamespaceBinding.java

Author: gbrown
Date: Fri Aug 27 15:57:25 2010
New Revision: 990184

URL: http://svn.apache.org/viewvc?rev=990184&view=rev
Log:
Minor naming tweak to NamespaceBinding.

Modified:
    pivot/trunk/core/src/org/apache/pivot/beans/NamespaceBinding.java

Modified: pivot/trunk/core/src/org/apache/pivot/beans/NamespaceBinding.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/beans/NamespaceBinding.java?rev=990184&r1=990183&r2=990184&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/beans/NamespaceBinding.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/beans/NamespaceBinding.java Fri Aug 27 15:57:25 2010
@@ -62,7 +62,7 @@ public class NamespaceBinding {
             if (key.equals(sourceKey)
                 && !updating) {
                 updating = true;
-                targetDictionary.put(targetKey, getMappedSourceValue());
+                targetDictionary.put(targetKey, getTransformedSourceValue());
                 updating = false;
             }
         }
@@ -74,7 +74,7 @@ public class NamespaceBinding {
             if (propertyName.equals(sourceKey)
                 && !updating) {
                 updating = true;
-                targetDictionary.put(targetKey, getMappedSourceValue());
+                targetDictionary.put(targetKey, getTransformedSourceValue());
                 updating = false;
             }
         }
@@ -149,7 +149,7 @@ public class NamespaceBinding {
         this.bindMapping = bindMapping;
 
         // Perform the initial set from source to target
-        targetDictionary.put(targetKey, getMappedSourceValue());
+        targetDictionary.put(targetKey, getTransformedSourceValue());
     }
 
     /**
@@ -215,7 +215,7 @@ public class NamespaceBinding {
     /**
      * Returns the current source value with any bind mapping applied.
      */
-    public Object getMappedSourceValue() {
+    public Object getTransformedSourceValue() {
         Object sourceValue = sourceMap.get(sourceKey);
         return (bindMapping == null) ? sourceValue : bindMapping.evaluate(sourceValue);
     }