Author: sebb
Date: Wed Nov 18 23:55:01 2009
New Revision: 882009

URL: http://svn.apache.org/viewvc?rev=882009&view=rev
Log:
Add generics to SearchByClass

Modified:
    
jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/ClientJMeterEngine.java

Modified: 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/ClientJMeterEngine.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/ClientJMeterEngine.java?rev=882009&r1=882008&r2=882009&view=diff
==============================================================================
--- 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/ClientJMeterEngine.java 
(original)
+++ 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/ClientJMeterEngine.java 
Wed Nov 18 23:55:01 2009
@@ -65,18 +65,21 @@
         this.host = host;
     }
 
+    /** {...@inheritdoc} */
     public void configure(HashTree testTree) {
         TreeCloner cloner = new TreeCloner(false);
         testTree.traverse(cloner);
         test = cloner.getClonedTree();
     }
 
+    /** {...@inheritdoc} */
     public void runTest() {
         log.info("about to run remote test on "+host);
         new Thread(this).start();
         log.info("done initiating run command");
     }
 
+    /** {...@inheritdoc} */
     public void stopTest() {
         log.info("about to stop remote test on "+host);
         try {
@@ -86,6 +89,7 @@
         }
     }
 
+    /** {...@inheritdoc} */
     public void reset() {
         try {
             try {
@@ -99,14 +103,10 @@
         }
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see java.lang.Runnable#run()
-     */
+    /** {...@inheritdoc} */
     public void run() {
         log.info("running clientengine run method");
-        SearchByClass testListeners = new SearchByClass(TestListener.class);
+        SearchByClass<TestListener> testListeners = new 
SearchByClass<TestListener>(TestListener.class);
         ConvertListeners sampleListeners = new ConvertListeners();
         HashTree testTree = test;
         PreCompiler compiler = new PreCompiler(true); // limit the changes to 
client only test elements
@@ -136,11 +136,7 @@
         }
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.apache.jmeter.engine.JMeterEngine#exit()
-     */
+    /** {...@inheritdoc} */
     public void exit() {
         log.info("about to exit remote server on "+host);
         try {
@@ -151,6 +147,7 @@
     }
 
     private Properties savep;
+    /** {...@inheritdoc} */
     public void setProperties(Properties p) {
         savep = p;
         // Sent later



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org

Reply via email to