tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fw...@apache.org
Subject svn commit: r662626 - /incubator/tuscany/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/DefaultDataBindingExtensionPoint.java
Date Tue, 03 Jun 2008 02:57:37 GMT
Author: fwang
Date: Mon Jun  2 19:57:37 2008
New Revision: 662626

URL: http://svn.apache.org/viewvc?rev=662626&view=rev
Log:
Traverse the databinding collection directly,the map of bindings may has duplicate binding
value.

Modified:
    incubator/tuscany/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/DefaultDataBindingExtensionPoint.java

Modified: incubator/tuscany/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/DefaultDataBindingExtensionPoint.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/DefaultDataBindingExtensionPoint.java?rev=662626&r1=662625&r2=662626&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/DefaultDataBindingExtensionPoint.java
(original)
+++ incubator/tuscany/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/DefaultDataBindingExtensionPoint.java
Mon Jun  2 19:57:37 2008
@@ -274,7 +274,7 @@
     public DataType introspectType(Object value) {
         loadDataBindings();
         DataType dataType = null;
-        for (DataBinding binding : bindings.values()) {
+        for (DataBinding binding : databindings) {
             // don't introspect for JavaBeansDatabinding as all javatypes will
             // anyways match to its basetype
             // which is java.lang.Object. Default to this only if no databinding



Mime
View raw message