jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1226062 - /jmeter/trunk/src/core/org/apache/jmeter/testelement/AbstractTestElement.java
Date Sat, 31 Dec 2011 10:53:15 GMT
Author: pmouawad
Date: Sat Dec 31 10:53:15 2011
New Revision: 1226062

URL: http://svn.apache.org/viewvc?rev=1226062&view=rev
Log:
Added javadocs

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/testelement/AbstractTestElement.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/testelement/AbstractTestElement.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/testelement/AbstractTestElement.java?rev=1226062&r1=1226061&r2=1226062&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/testelement/AbstractTestElement.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/testelement/AbstractTestElement.java Sat Dec 31
10:53:15 2011
@@ -55,6 +55,9 @@ public abstract class AbstractTestElemen
     private final Map<String, JMeterProperty> propMap =
         Collections.synchronizedMap(new LinkedHashMap<String, JMeterProperty>());
 
+    /**
+     * Holds properties added when isRunningVersion is true
+     */
     private transient Set<JMeterProperty> temporaryProperties;
 
     private transient boolean runningVersion = false;
@@ -288,6 +291,10 @@ public abstract class AbstractTestElemen
         addProperty(property, false);
     }
 
+    /**
+     * Remove property from temporaryProperties
+     * @param property {@link JMeterProperty}
+     */
     protected void clearTemporary(JMeterProperty property) {
         if (temporaryProperties != null) {
             temporaryProperties.remove(property);
@@ -395,6 +402,10 @@ public abstract class AbstractTestElemen
         return new PropertyIteratorImpl(propMap.values());
     }
 
+    /**
+     * Add to this the properties of element (by reference)
+     * @param element {@link TestElement}
+     */
     protected void mergeIn(TestElement element) {
         PropertyIterator iter = element.propertyIterator();
         while (iter.hasNext()) {
@@ -424,6 +435,9 @@ public abstract class AbstractTestElemen
         }
     }
 
+    /**
+     * {@inheritDoc}
+     */
     public void recoverRunningVersion() {
         Iterator<Map.Entry<String, JMeterProperty>>  iter = propMap.entrySet().iterator();
         while (iter.hasNext()) {
@@ -439,6 +453,9 @@ public abstract class AbstractTestElemen
         emptyTemporary();
     }
 
+    /**
+     * Clears temporaryProperties
+     */
     protected void emptyTemporary() {
         if (temporaryProperties != null) {
             temporaryProperties.clear();



Mime
View raw message