Skip to content

Commit

Permalink
simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 24, 2024
1 parent b5d441f commit c2f5697
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/takes/tk/TkText.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* Text take.
*
* <p>This take returns an HTML response by wrapping the provided
* content into {@link org.takes.rs.RsText}.
* content into {@link RsText}.
*
* <p>The class is immutable and thread-safe.
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/takes/tk/TkWithHeader.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* Take with an extra header.
*
* <p>This take wraps all responses of another take, adding
* an extra header to them, through {@link org.takes.rs.RsWithHeader}.
* an extra header to them, through {@link RsWithHeader}.
*
* <p>The class is immutable and thread-safe.
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/takes/tk/TkWithHeaders.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* Take that headers.
*
* <p>This take wraps all responses of another take, adding
* headers to them, through {@link org.takes.rs.RsWithHeaders}.
* headers to them, through {@link RsWithHeaders}.
*
* <p>The class is immutable and thread-safe.
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/takes/tk/TkWithType.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* Plain text take.
*
* <p>This take wraps all responses of another take, adding
* content type to them, through {@link org.takes.rs.RsWithType}.
* content type to them, through {@link RsWithType}.
*
* <p>The class is immutable and thread-safe.
*
Expand Down
16 changes: 7 additions & 9 deletions src/test/java/org/takes/http/BkParallelTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,13 @@
* @checkstyle ExecutableStatementCountCheck (500 lines)
* @since 0.15.2
*/
@SuppressWarnings
(
{
"PMD.CyclomaticComplexity",
"PMD.AvoidInstantiatingObjectsInLoops",
"PMD.StdCyclomaticComplexity",
"PMD.ModifiedCyclomaticComplexity"
}
) final class BkParallelTest {
@SuppressWarnings({
"PMD.CyclomaticComplexity",
"PMD.AvoidInstantiatingObjectsInLoops",
"PMD.StdCyclomaticComplexity",
"PMD.ModifiedCyclomaticComplexity"
})
final class BkParallelTest {
@Test
void requestsAreParallel() throws Exception {
final ServerSocket socket = new ServerSocket(0);
Expand Down

0 comments on commit c2f5697

Please sign in to comment.