You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2018/01/27 10:11:34 UTC
svn commit: r1822380 - in /jmeter/trunk:
src/core/org/apache/jmeter/rmi/RMIServerSocketFactoryImpl.java
src/core/org/apache/jmeter/threads/JMeterContext.java
test/src/org/apache/jmeter/control/TestTransactionController.java
Author: fschumacher
Date: Sat Jan 27 10:11:34 2018
New Revision: 1822380
URL: http://svn.apache.org/viewvc?rev=1822380&view=rev
Log:
javadoc: fill in param, return and throws tags
Modified:
jmeter/trunk/src/core/org/apache/jmeter/rmi/RMIServerSocketFactoryImpl.java
jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterContext.java
jmeter/trunk/test/src/org/apache/jmeter/control/TestTransactionController.java
Modified: jmeter/trunk/src/core/org/apache/jmeter/rmi/RMIServerSocketFactoryImpl.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/rmi/RMIServerSocketFactoryImpl.java?rev=1822380&r1=1822379&r2=1822380&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/rmi/RMIServerSocketFactoryImpl.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/rmi/RMIServerSocketFactoryImpl.java Sat Jan 27 10:11:34 2018
@@ -31,15 +31,11 @@ import javax.net.ServerSocketFactory;
* @since 4.0
*/
public class RMIServerSocketFactoryImpl implements RMIServerSocketFactory, Serializable {
- /**
- *
- */
+
private static final long serialVersionUID = 6106381149147208254L;
private final InetAddress localAddress;
- /**
- *
- */
+
public RMIServerSocketFactoryImpl(final InetAddress pAddress) {
this.localAddress = pAddress;
}
Modified: jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterContext.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterContext.java?rev=1822380&r1=1822379&r2=1822380&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterContext.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterContext.java Sat Jan 27 10:11:34 2018
@@ -146,6 +146,7 @@ public class JMeterContext {
/**
* Internally called by JMeter, never call it directly
+ * @param threadNum number of threads
*/
public void setThreadNum(int threadNum) {
this.threadNum = threadNum;
@@ -157,6 +158,7 @@ public class JMeterContext {
/**
* Internally called by JMeter, never call it directly
+ * @param thread to use
*/
public void setThread(JMeterThread thread) {
this.thread = thread;
@@ -168,6 +170,7 @@ public class JMeterContext {
/**
* Internally called by JMeter, never call it directly
+ * @param threadgrp ThreadGroup to use
*/
public void setThreadGroup(AbstractThreadGroup threadgrp) {
this.threadGroup = threadgrp;
@@ -179,6 +182,7 @@ public class JMeterContext {
/**
* Internally called by JMeter, never call it directly
+ * @param engine to use
*/
public void setEngine(StandardJMeterEngine engine) {
this.engine = engine;
@@ -190,21 +194,21 @@ public class JMeterContext {
/**
* Internally called by JMeter, never call it directly
+ * @param b flag whether sampling has started
*/
public void setSamplingStarted(boolean b) {
samplingStarted = b;
}
/**
- * if set to <code>true</code> a restart of the loop will occur
+ * @param restartNextLoop if set to <code>true</code> a restart of the loop will occur
*/
public void setStartNextThreadLoop(boolean restartNextLoop) {
this.restartNextLoop = restartNextLoop;
}
/**
- * if set to <code>true</code> current loop iteration will be interrupted and
- * JMeter will go to next iteration
+ * @return {@code true} when current loop iteration will be interrupted and JMeter will go to next iteration
*/
public boolean isStartNextThreadLoop() {
return restartNextLoop;
@@ -213,6 +217,7 @@ public class JMeterContext {
/**
* if set to <code>true</code> current loop iteration will be interrupted and
* JMeter will go to next iteration
+ * @param restartNextLoop flag whether to restart
*
* @deprecated use {@link JMeterContext#setStartNextThreadLoop(boolean)}
*/
@@ -222,6 +227,7 @@ public class JMeterContext {
}
/**
+ * @return flag whether restart is set
* @deprecated use {@link JMeterContext#isStartNextThreadLoop()}
*/
@Deprecated
@@ -250,6 +256,7 @@ public class JMeterContext {
/**
* Internally called by JMeter, never call it directly
+ * @param recording flag whether recording should be done
*/
public void setRecording(boolean recording) {
this.recording = recording;
Modified: jmeter/trunk/test/src/org/apache/jmeter/control/TestTransactionController.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/control/TestTransactionController.java?rev=1822380&r1=1822379&r2=1822380&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/control/TestTransactionController.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/control/TestTransactionController.java Sat Jan 27 10:11:34 2018
@@ -43,6 +43,7 @@ public class TestTransactionController e
/**
* @see "http://bz.apache.org/bugzilla/show_bug.cgi?id=57958"
+ * @throws Exception when something breaks
*/
@Test
public void testIssue57958() throws Exception {