Author: kkolinko
Date: Tue Nov 13 00:08:18 2012
New Revision: 1408513
URL: http://svn.apache.org/viewvc?rev=1408513&view=rev
Log:
Correct typo in a field name.
(Review of r1408157 )
Modified:
tomcat/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java
Modified: tomcat/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java?rev=1408513&r1=1408512&r2=1408513&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java
(original)
+++ tomcat/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java Tue Nov
13 00:08:18 2012
@@ -93,7 +93,7 @@ public abstract class SimpleHttpClient {
private String redirectUri;
private String responseBody;
- private List<String> bodyUriElments = new ArrayList<>();
+ private List<String> bodyUriElements = new ArrayList<>();
protected void setPort(int thePort) {
port = thePort;
@@ -139,7 +139,7 @@ public abstract class SimpleHttpClient {
}
public List<String> getResponseBodyUriElements() {
- return bodyUriElments;
+ return bodyUriElements;
}
public void setUseContentLength(boolean b) {
@@ -211,7 +211,7 @@ public abstract class SimpleHttpClient {
// clear any residual data before starting on this response
responseHeaders.clear();
responseBody = null;
- bodyUriElments.clear();
+ bodyUriElements.clear();
// Read the response status line
responseLine = readLine();
@@ -332,7 +332,7 @@ public abstract class SimpleHttpClient {
+ ELEMENT_TAIL + "]\nActual: [" + body + "]");
}
String element = body.substring(iStart, iEnd);
- bodyUriElments.add(element);
+ bodyUriElements.add(element);
iStart += element.length();
}
return iStart;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]