You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2015/12/20 13:47:37 UTC

[07/31] flex-blazeds git commit: FLEX-34680 - BeanProxy.getBeanProperties caches and returns values with incorrect Map - Applied the patch provided by Matthew Frederes

FLEX-34680 - BeanProxy.getBeanProperties caches and returns values with incorrect Map
- Applied the patch provided by Matthew Frederes


Project: http://git-wip-us.apache.org/repos/asf/flex-blazeds/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-blazeds/commit/aa98ccdf
Tree: http://git-wip-us.apache.org/repos/asf/flex-blazeds/tree/aa98ccdf
Diff: http://git-wip-us.apache.org/repos/asf/flex-blazeds/diff/aa98ccdf

Branch: refs/heads/master
Commit: aa98ccdf066d33ad893c7178281e6a39147e4dff
Parents: 974ba3f
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Tue May 26 17:14:44 2015 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Tue May 26 17:14:44 2015 +0200

----------------------------------------------------------------------
 modules/core/src/flex/messaging/io/BeanProxy.java | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/aa98ccdf/modules/core/src/flex/messaging/io/BeanProxy.java
----------------------------------------------------------------------
diff --git a/modules/core/src/flex/messaging/io/BeanProxy.java b/modules/core/src/flex/messaging/io/BeanProxy.java
index bba91c7..05ccb01 100644
--- a/modules/core/src/flex/messaging/io/BeanProxy.java
+++ b/modules/core/src/flex/messaging/io/BeanProxy.java
@@ -423,8 +423,7 @@ public class BeanProxy extends AbstractProxy
             {
                 synchronized (rwBeanPropertyCache)
                 {
-                    props = roBeanPropertyCache.get(c);
-
+                    props = rwBeanPropertyCache.get(c);
                 }
             }
             if (props != null)
@@ -503,8 +502,7 @@ public class BeanProxy extends AbstractProxy
             {
                 synchronized (rwBeanPropertyCache)
                 {
-                    roBeanPropertyCache.put(c, props);
-
+                    rwBeanPropertyCache.put(c, props);
                 }
             }
         }