Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Typo #289

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ the plot, see below.

The rest of the options are all documented below as they are the same
as the default options passed in via the options parameter in the plot
commmand. When you specify them for a specific data series, they will
command. When you specify them for a specific data series, they will
override the default options for the plot for that data series.

Here's a complete example of a simple data specification:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function ajaxConvert( s, response, jqXHR, isSuccess ) {
// Work with a copy of dataTypes in case we need to modify it for conversion
dataTypes = s.dataTypes.slice();

// Create converters map with lowercased keys
// Create converters map with lowerCased keys
if ( dataTypes[ 1 ] ) {
for ( conv in s.converters ) {
converters[ conv.toLowerCase() ] = s.converters[ conv ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public AssertionResult getResult(SampleResult response) {
.toString()));
result.setError(false);
}
catch (NoClassDefFoundError ex) { // NOSONAR explicitely trap this error to make tests work better
catch (NoClassDefFoundError ex) { // NOSONAR explicitly trap this error to make tests work better
log.error("BeanShell Jar missing? " + ex.toString());
result.setError(true);
result.setFailureMessage("BeanShell Jar missing? " + ex.toString());
Expand Down
8 changes: 4 additions & 4 deletions src/core/org/apache/jmeter/gui/action/ActionRouter.java
Original file line number Diff line number Diff line change
Expand Up @@ -302,14 +302,14 @@ public void populateCommandMap() {
}
try {
List<String> listClasses = ClassFinder.findClassesThatExtend(
JMeterUtils.getSearchPaths(), // strPathsOrJars - pathnames or jarfiles to search for classes
JMeterUtils.getSearchPaths(), // strPathsOrJars - pathNames or jarfiles to search for classes
// classNames - required parent class(es) or annotations
new Class[] {Class.forName("org.apache.jmeter.gui.action.Command") }, // $NON-NLS-1$
false, // innerClasses - should we include inner classes?
null, // contains - classname should contain this string
null, // contains - className should contain this string
// Ignore the classes which are specific to the reporting tool
"org.apache.jmeter.report.gui", // $NON-NLS-1$ // notContains - classname should not contain this string
false); // annotations - true if classnames are annotations
"org.apache.jmeter.report.gui", // $NON-NLS-1$ // notContains - className should not contain this string
false); // annotations - true if classNames are annotations
if (listClasses.isEmpty()) {
log.error("!!!!!Uh-oh, didn't find any action handlers!!!!!");
throw new JMeterError("No action handlers found - check JMeterHome and libraries");
Expand Down
10 changes: 5 additions & 5 deletions src/core/org/apache/jmeter/report/core/AbstractSampleWriter.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
* </p>
* <p>
* When a writer is set on the sample writer any previous writer is flushed and
* closed before beeing replaced by the new one.
* closed before being replaced by the new one.
* </p>
*
* @since 3.0
Expand Down Expand Up @@ -77,7 +77,7 @@ public void setWriter(Writer newWriter) {

/**
* Instructs this sample writer to write samples on the specified output
* with UTG-8 encoding. The encoding can be overriden by the user through
* with UTG-8 encoding. The encoding can be overridden by the user through
* {@link SaveService#getFileEncoding(String)}
*
* @param out
Expand All @@ -97,8 +97,8 @@ public void setOutputStream(OutputStream out) {
* Set the destination file in which this sample writer will write samples
*
* @param output
* The ouput file that will receive samples written by this
* sample writter
* The output file that will receive samples written by this
* sample writer
*/
public void setOutputFile(File output) {
FileOutputStream fos = null;
Expand All @@ -111,7 +111,7 @@ public void setOutputFile(File output) {
}

/**
* This method is guaranted to not throw any exception. If writer is already
* This method is guaranteed to not throw any exception. If writer is already
* closed then does nothing.<br>
* Any buffered data is flushed by this method.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/core/org/apache/jmeter/samplers/BatchSampleSender.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ public void testEnded(String host) {
}

/**
* Stores sample events untill either a time or sample threshold is
* Stores sample events until either a time or sample threshold is
* breached. Both thresholds are reset if one fires. If only one threshold
* is set it becomes the only value checked against. When a threhold is
* is set it becomes the only value checked against. When a threshold is
* breached the list of sample events is sent to a listener where the event
* are fired locally.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ public static JMeterProperty createProperty(Object item) {
* <li>TestElement =&gt; TestElementProperty with the same name</li>
* <li>Map|Collection =&gt; Map|CollectionProperty with the name = item.hashCode</li>
* </ul>
* @param item object to be turned into a propery
* @param item object to be turned into a property
* @return the JMeterProperty
*/
protected static JMeterProperty makeProperty(Object item) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
* </ul>
* </li>
* </ul>
* For most developers, making a new visualizer is primarly for the purpose of
* For most developers, making a new visualizer is primarily for the purpose of
* either calculating new statistics on the sample results that other
* visualizers don't calculate, or displaying the results visually in a new and
* interesting way. Making a new visualizer for either of these purposes is easy -
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public static LinkExtractorParser getParser(String parserClassName)
LOG.info("Created " + parserClassName);
if (parser.isReusable()) {
LinkExtractorParser currentParser = PARSERS.putIfAbsent(
parserClassName, parser);// cache the parser if not alread
parserClassName, parser);// cache the parser if not already
// done by another thread
if (currentParser != null) {
return currentParser;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public abstract class AbstractSamplerCreator implements SamplerCreator {
protected static final String HTTP = "http"; // $NON-NLS-1$
protected static final String HTTPS = "https"; // $NON-NLS-1$

/** Filetype to be used for the temporary binary files*/
/** FileType to be used for the temporary binary files*/
private static final String BINARY_FILE_SUFFIX =
JMeterUtils.getPropDefault("proxy.binary.filesuffix",// $NON-NLS-1$
".binary"); // $NON-NLS-1$
Expand All @@ -50,7 +50,7 @@ public abstract class AbstractSamplerCreator implements SamplerCreator {
/** Where to store the temporary binary files */
private static final String BINARY_DIRECTORY =
JMeterUtils.getPropDefault("proxy.binary.directory",// $NON-NLS-1$
System.getProperty("user.dir")); // $NON-NLS-1$ proxy.binary.filetype=binary
System.getProperty("user.dir")); // $NON-NLS-1$ proxy.binary.fileType=binary

/*
* Optionally number the requests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
* the logs. It also doesn't care how Generator is implemented, as long as it
* implements the interface. This means a person could simply implement a dummy
* parser to generate random parameters and the generator consumes the results.
* This wasn't the original intent of the sampler. I originaly wanted to write
* This wasn't the original intent of the sampler. I originally wanted to write
* this sampler, so that I can take production logs to simulate production
* traffic in a test environment. Doing so is desirable to study odd or unusual
* behavior. It's also good to compare a new system against an existing system
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public AccessLogSamplerBeanInfo() {
log.warn("couldn't find classes and set up properties", e);
throw new RuntimeException("Could not find classes with class finder", e);
}
log.debug("Got to end of access log samper bean info init");
log.debug("Got to end of access log sampler bean info init");
}

}
2 changes: 1 addition & 1 deletion xdocs/usermanual/best-practices.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ The error "<code>unknown_ca</code>" probably means that you are trying to record
JMeter Proxy server certificate.
</p>
<!--TODO: Describe how to use this to record against one server[name]
and run against another. Actually, this particular example may be beter for the HTTP Request Defaults&hellip;
and run against another. Actually, this particular example may be better for the HTTP Request Defaults&hellip;
a good similar example for the variables is http vs. https.-->
<!--SUMMARY of all TODO's above: we need some actual usage to identify best practices
with this new features.-->
Expand Down