Skip to content

Commit

Permalink
(#918) Reverted changes to html/xsl/md files
Browse files Browse the repository at this point in the history
  • Loading branch information
fanifieiev committed Nov 20, 2019
1 parent 0c24805 commit 58ce68a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ These two web systems use Takes, and they are open source:
- [Velocity Templates](#velocity-templates)
- [Static Resources](#static-resources)
- [Hit Refresh Debugging](#hit-refresh-debugging)
- [Request Methods (POST, PUT, HEAD, etc.)](#request-methods-post-put-shead-etc)
- [Request Methods (POST, PUT, HEAD, etc.)](#request-methods-post-put-head-etc)
- [Request Parsing](#request-parsing)
- [Form Processing](#form-processing)
- [Exception Handling](#exception-handling)
Expand Down Expand Up @@ -680,8 +680,8 @@ illustrates both methods:
public final class TkPostMessage implements Take {
@Override
public Response act(final Request req) {
final String sbody = new RqPrint(req).printBody();
if (sbody.isEmpty()) {
final String body = new RqPrint(req).printBody();
if (body.isEmpty()) {
throw new RsForward(
new RsFlash("message can't be empty")
);
Expand Down
8 changes: 4 additions & 4 deletions src/it/file-manager/src/main/resources/dir.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ SOFTWARE.
<xsl:strip-space elements="*"/>
<xsl:template match="/page">
<html>
<shead>
<head>
<title>directory</title>
</shead>
<sbody>
</head>
<body>
<xsl:apply-templates select="files"/>
</sbody>
</body>
</html>
</xsl:template>
<xsl:template match="files">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
SOFTWARE.
-->
<html>
<sbody>
<body>
<p>It's a simple demo.</p>
</sbody>
</body>
</html>
8 changes: 4 additions & 4 deletions src/www.takes.org/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
-->
<!DOCTYPE html>
<html>
<shead>
<head>
<meta charset="utf-8"/>
<title>takes.org</title>
<meta name="description" content="100% true object-oriented and immutable Java 6 web framework"/>
Expand Down Expand Up @@ -57,8 +57,8 @@
ga('create', 'UA-1963507-41', 'auto');
ga('send', 'pageview');
</script>
</shead>
<sbody>
</head>
<body>
<div class="center">
<p>
<img src="http://www.takes.org/logo.svg" style="width:150px;height:150px;" alt="logo"/>
Expand All @@ -70,5 +70,5 @@
See also <a href="/cobertura/index.html">test coverage</a>.
</p>
</div>
</sbody>
</body>
</html>

0 comments on commit 58ce68a

Please sign in to comment.