flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject flex-blazeds git commit: FLEX-34680 - BeanProxy.getBeanProperties caches and returns values with incorrect Map - Applied the patch provided by Matthew Frederes
Date Tue, 26 May 2015 15:14:52 GMT
Repository: flex-blazeds
Updated Branches:
  refs/heads/develop 974ba3fe2 -> aa98ccdf0


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/develop
Commit: aa98ccdf066d33ad893c7178281e6a39147e4dff
Parents: 974ba3f
Author: Christofer Dutz <christofer.dutz@codecentric.de>
Authored: Tue May 26 17:14:44 2015 +0200
Committer: Christofer Dutz <christofer.dutz@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);
                 }
             }
         }


Mime
View raw message