Skip to content

Commit

Permalink
doc typos
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 24, 2024
1 parent 7257916 commit b5d441f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/takes/Request.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
*
* <p>All implementations of this interface must be immutable and thread-safe.
*
* @see org.takes.Response
* @see org.takes.Take
* @see Response
* @see Take
* @see org.takes.facets.fork.RqRegex
* @see org.takes.rq.RqHref
* @see <a href="http://www.yegor256.com/2015/02/26/composable-decorators.html">
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/takes/Response.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/**
* HTTP response.
*
* <p>{@link org.takes.Response} interface is an abstraction of a HTTP
* <p>{@link Response} interface is an abstraction of a HTTP
* response, that consists of a few headers and a body. To construct
* a response, use one of the composable decorators from
* {@link org.takes.rs} package. For example, this code will create
Expand All @@ -50,7 +50,7 @@
*
* <p>All implementations of this interface must be immutable and thread-safe.
*
* @see org.takes.Take
* @see Take
* @see org.takes.rs.RsWithBody
* @see org.takes.rs.RsWithHeader
* @see <a href="http://www.yegor256.com/2015/02/26/composable-decorators.html">
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/takes/Take.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* Take.
*
* <p>Take is a momentary snapshot of in-server reality, visible to the
* end user via printable {@link org.takes.Response}.
* end user via printable {@link Response}.
* For example, this is a simple web server
* that returns "hello, world!" plain text web page:
*
Expand All @@ -42,7 +42,7 @@
* ).start(Exit.NEVER);
* }</pre>
*
* <p>There are a few classes that implement this interface and you
* <p>There are a few classes that implement this interface, and you
* can create your own. But the best way is to start with
* {@link org.takes.facets.fork.TkFork}, for example:
*
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/org/takes/tk/TkEmpty.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
/**
* Empty take.
*
* <p>This "take" always returns an instance of
* {@link org.takes.rs.RsEmpty}.
* <p>This "take" always returns an instance of {@link RsEmpty}.
*
* <p>The class is immutable and thread-safe.
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/takes/tk/TkFiles.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* {@code "/css/style.css?eot"}. {@link TkFiles}
* will try to find a resource {@code "/tmp/css/style.css"} on disc.
*
* <p>If such a resource is not found, {@link org.takes.HttpException}
* <p>If such a resource is not found, {@link HttpException}
* will be thrown.
*
* <p>The class is immutable and thread-safe.
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/takes/tk/TkWithHeadersTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import org.takes.rs.RsPrint;

/**
* Test case for {@link org.takes.tk.TkWithHeaders}.
* Test case for {@link TkWithHeaders}.
* @since 0.9.1
*/
final class TkWithHeadersTest {
Expand Down

0 comments on commit b5d441f

Please sign in to comment.