[jboss-cvs] JBossAS SVN: r68473 - trunk/profileservice/src/main/org/jboss/profileservice/management.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Dec 20 18:02:03 EST 2007


Author: alex.loubyansky at jboss.com
Date: 2007-12-20 18:02:02 -0500 (Thu, 20 Dec 2007)
New Revision: 68473

Modified:
   trunk/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java
Log:
don't just set null when we didn't recognize metaType

Modified: trunk/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java
===================================================================
--- trunk/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java	2007-12-20 22:34:23 UTC (rev 68472)
+++ trunk/profileservice/src/main/org/jboss/profileservice/management/ManagementViewImpl.java	2007-12-20 23:02:02 UTC (rev 68473)
@@ -660,7 +660,9 @@
             serializable = (Serializable)value;
             metaValue = MetaValueFactory.getInstance().create(value);
          }
-         ctxProp.setValue(serializable);
+
+         if(serializable != null)
+            ctxProp.setValue(serializable);
          // todo - should this also dispatch to runtime component?
          Object componentName = getComponentName(ctxProp);
          if (componentName != null)




More information about the jboss-cvs-commits mailing list