Skip to content

Commit c4a789e

Browse files
authored
Merge pull request #364 from jbampton/fix-word-case
Fix case of HTML and SHTML
2 parents d0971a5 + 51b4298 commit c4a789e

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

java/org/apache/catalina/filters/ExpiresFilter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,8 +520,8 @@ public String toString() {
520520

521521
/**
522522
* Expiration configuration starting point. Either the time the
523-
* html-page/servlet-response was served ({@link StartingPoint#ACCESS_TIME})
524-
* or the last time the html-page/servlet-response was modified (
523+
* HTML-page/servlet-response was served ({@link StartingPoint#ACCESS_TIME})
524+
* or the last time the HTML-page/servlet-response was modified (
525525
* {@link StartingPoint#LAST_MODIFICATION_TIME}).
526526
*/
527527
protected enum StartingPoint {

java/org/apache/catalina/ssi/SSIFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public void doFilter(ServletRequest request, ServletResponse response,
143143
Matcher shtmlMatcher =
144144
shtmlRegEx.matcher(responseIncludeWrapper.getContentType());
145145
if (shtmlMatcher.matches()) {
146-
// Convert shtml mime type to ordinary html mime type but preserve
146+
// Convert SHTML mime type to ordinary HTML mime type but preserve
147147
// encoding, if any.
148148
String enc = shtmlMatcher.group(1);
149149
res.setContentType("text/html" + ((enc != null) ? enc : ""));

test/org/apache/catalina/authenticator/TestFormAuthenticator.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
* as a path parameter appended to ALL urls within its response. That is
5454
* achievable with servlets, jsps, jstl (all of which which can ask for an
5555
* encoded url to be inserted into the dynamic web page). It cannot work
56-
* with static html.
56+
* with static HTML.
5757
* note: this test class uses the Tomcat sample jsps, which conform.
5858
*
5959
* 3. Therefore, any webapp that MIGHT need to authenticate a client that
@@ -534,7 +534,7 @@ private void doRequest(String request[]) throws Exception {
534534
}
535535

536536
/*
537-
* verify the server response html body is the page we expect,
537+
* verify the server response HTML body is the page we expect,
538538
* based on the dialogue position within doTest.
539539
*/
540540
@Override
@@ -543,7 +543,7 @@ public boolean isResponseBodyOK() {
543543
}
544544

545545
/*
546-
* verify the server response html body is the page we expect,
546+
* verify the server response HTML body is the page we expect,
547547
* based on the dialogue position given by the caller.
548548
*/
549549
public boolean isResponseBodyOK(int testPhase) {

test/org/apache/catalina/startup/SimpleHttpClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ public void extractUriElements() {
362362
}
363363

364364
/*
365-
* Scan an html body for a given html uri element, starting from the
365+
* Scan an HTML body for a given HTML uri element, starting from the
366366
* given index into the source string. If any are found, simply
367367
* accumulate them as literal strings, including angle brackets.
368368
* note: nested elements will not be collected.

test/org/apache/catalina/startup/TesterServletEncodeUrl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class TesterServletEncodeUrl extends HttpServlet {
3737
* <p>
3838
* The request parameter <code>nextUrl</code> specifies the url to which the
3939
* caller would like to go next. If supplied, put an encoded url into the
40-
* returned html page as a hyperlink.
40+
* returned HTML page as a hyperlink.
4141
*/
4242
@Override
4343
protected void doGet(HttpServletRequest req, HttpServletResponse resp)

webapps/examples/WEB-INF/classes/RequestInfoExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void doGet(HttpServletRequest request,
5656
out.println("</head>");
5757
out.println("<body bgcolor=\"white\">");
5858

59-
// img stuff not req'd for source code html showing
59+
// img stuff not req'd for source code HTML showing
6060
// all links relative!
6161

6262
// XXX

webapps/examples/WEB-INF/classes/RequestParamExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void doGet(HttpServletRequest request,
5656
out.println("</head>");
5757
out.println("<body bgcolor=\"white\">");
5858

59-
// img stuff not req'd for source code html showing
59+
// img stuff not req'd for source code HTML showing
6060

6161
// all links relative
6262

webapps/examples/WEB-INF/classes/SessionExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void doGet(HttpServletRequest request,
6060
out.println("</head>");
6161
out.println("<body bgcolor=\"white\">");
6262

63-
// img stuff not req'd for source code html showing
63+
// img stuff not req'd for source code HTML showing
6464
// relative links everywhere!
6565

6666
// XXX

webapps/examples/jsp/cal/cal1.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
if (table.getProcessError() == false) {
3232
%>
3333

34-
<!-- html table goes here -->
34+
<!-- HTML table goes here -->
3535
<CENTER>
3636
<TABLE WIDTH=60% BGCOLOR=yellow CELLPADDING=15>
3737
<TR>

webapps/examples/jsp/cal/login.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<hr>
4141
<font size=3 color="red"> Note: This application does not implement the complete
4242
functionality of a typical calendar application. It demonstrates a way JSP can
43-
be used with html tables and forms.</font>
43+
be used with HTML tables and forms.</font>
4444

4545
</center>
4646
</body>

0 commit comments

Comments
 (0)