You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2012/11/07 00:22:18 UTC
svn commit: r1406397 -
/jmeter/trunk/src/core/org/apache/jmeter/util/JSR223BeanInfoSupport.java
Author: sebb
Date: Tue Nov 6 23:22:17 2012
New Revision: 1406397
URL: http://svn.apache.org/viewvc?rev=1406397&view=rev
Log:
Property entries must be defined before they are used, otherwise they generate the following warning:
WARN - jmeter.testbeans.gui.GenericTestBeanCustomizer: org.apache.jmeter.util.JSR223TestElement#cacheKey does not appear to have been configured
and the fields may not behave correctly
Bugzilla Id: 54107
Modified:
jmeter/trunk/src/core/org/apache/jmeter/util/JSR223BeanInfoSupport.java
Modified: jmeter/trunk/src/core/org/apache/jmeter/util/JSR223BeanInfoSupport.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/util/JSR223BeanInfoSupport.java?rev=1406397&r1=1406396&r2=1406397&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/JSR223BeanInfoSupport.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/JSR223BeanInfoSupport.java Tue Nov 6 23:22:17 2012
@@ -54,12 +54,13 @@ public abstract class JSR223BeanInfoSupp
protected JSR223BeanInfoSupport(Class<?> beanClass) {
super(beanClass, LANGUAGE_TAGS);
- createPropertyGroup(CACHE_KEY_GROUP, new String[] {
- CACHE_KEY });
-
PropertyDescriptor p = property(CACHE_KEY);
p.setValue(NOT_UNDEFINED, Boolean.TRUE);
p.setValue(DEFAULT, ""); // $NON-NLS-1$
+
+ createPropertyGroup(CACHE_KEY_GROUP, new String[] {
+ CACHE_KEY });
+
}
}