You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2006/10/29 15:30:36 UTC

svn commit: r468911 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java

Author: chirino
Date: Sun Oct 29 06:30:36 2006
New Revision: 468911

URL: http://svn.apache.org/viewvc?view=rev&rev=468911
Log:
make the setProperty public since it can be handy.

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java?view=diff&rev=468911&r1=468910&r2=468911
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java (original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java Sun Oct 29 06:30:36 2006
@@ -142,7 +142,7 @@
         return rc;
     }
 
-    private static boolean setProperty(Object target, String name, Object value) {
+    public static boolean setProperty(Object target, String name, Object value) {
         try {
             Class clazz = target.getClass();
             Method setter = findSetterMethod(clazz, name);