From 0773d2ce8cc6fb2febcc8ffce03d1ed9deba54cc Mon Sep 17 00:00:00 2001 From: uchitsa Date: Tue, 27 May 2025 01:21:37 +0300 Subject: [PATCH 01/14] #571 fix error --- src/site/apt/example-mock-container.apt.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/site/apt/example-mock-container.apt.vm b/src/site/apt/example-mock-container.apt.vm index e91f57ca..a7ce6af2 100644 --- a/src/site/apt/example-mock-container.apt.vm +++ b/src/site/apt/example-mock-container.apt.vm @@ -53,7 +53,7 @@ MkContainer container = new MkGrizzlyContainer(); The container is not yet started and doesn't know what to reply when a new HTTP request comes in. We should add at least one instance of {{{./apidocs-${project.version}/com/jcabi/http/mock/MkAnswer.html}<<>>}} - to its queue of ready-to-be-dispached answers: + to its queue of ready-to-be-dispatched answers: +-- container.next( From 4bd384c0a42ed7f791bb7be17dd0478abc5b51af Mon Sep 17 00:00:00 2001 From: uchitsa Date: Tue, 27 May 2025 01:22:45 +0300 Subject: [PATCH 02/14] #571 fix errors --- src/site/apt/example-request.apt.vm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/site/apt/example-request.apt.vm b/src/site/apt/example-request.apt.vm index 4e2a2597..a4b7cd9d 100644 --- a/src/site/apt/example-request.apt.vm +++ b/src/site/apt/example-request.apt.vm @@ -35,7 +35,7 @@ String body = response.body(); +-- {{{./apidocs-${project.version}/com/jcabi/http/Request.html}<<>>}} - is a trully immutable class, which means that you + is a truly immutable class, which means that you can't change any of its properties. However, you can create new requests. For example, you want to make a similar request, but with a <<>> HTTP method: @@ -74,7 +74,7 @@ Response response = new JdkRequest("http://my.example.com") response with a new custom decorator, that implements more methods, suitable for a particular use case. - The simpliest decorator is + The simplest decorator is {{{./apidocs-${project.version}/com/jcabi/http/response/RestResponse.html}<<>>}}. It helps you to make assertions on the response and follow redirects, for example: From ab65404e8dcaf4a7643670a635ebb7fdcfd986b4 Mon Sep 17 00:00:00 2001 From: uchitsa Date: Tue, 27 May 2025 01:31:08 +0300 Subject: [PATCH 03/14] #571 fix error --- src/site/apt/optional-dependencies.apt.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/site/apt/optional-dependencies.apt.vm b/src/site/apt/optional-dependencies.apt.vm index e06740f8..4e6beef7 100644 --- a/src/site/apt/optional-dependencies.apt.vm +++ b/src/site/apt/optional-dependencies.apt.vm @@ -11,7 +11,7 @@ Optional Dependencies The project is structured in a manner that many dependencies are optional. This is done in order to keep the package small, as the diverse functionality provided by the various classes require many other libraries that may be - non-trival or result in conflicts with your own project. + non-trivial or result in conflicts with your own project. The following is a list of dependencies that would be required to use all features of this library. You may incorporate them directly in your <<>>. From ee4f884c43dfb51e18edd77722025f2f3a12c9fe Mon Sep 17 00:00:00 2001 From: uchitsa Date: Tue, 27 May 2025 01:32:20 +0300 Subject: [PATCH 04/14] #571 fix error --- src/main/java/com/jcabi/http/package-info.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/jcabi/http/package-info.java b/src/main/java/com/jcabi/http/package-info.java index 1ecabbca..b801001e 100644 --- a/src/main/java/com/jcabi/http/package-info.java +++ b/src/main/java/com/jcabi/http/package-info.java @@ -9,7 +9,7 @@ *

The only dependency you need is (check our latest version available * at www.rexsl.com): * - *

<depedency>
+ * 
<dependency>
  *   <groupId>com.rexsl</groupId>
  *   <artifactId>rexsl-test</artifactId>
  * </dependency>
From 3f4160a7954129d2059c8ed0abb6e9cb3b0aa5f3 Mon Sep 17 00:00:00 2001 From: uchitsa Date: Tue, 27 May 2025 01:33:18 +0300 Subject: [PATCH 05/14] #571 fix error --- src/main/java/com/jcabi/http/response/RestResponse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/jcabi/http/response/RestResponse.java b/src/main/java/com/jcabi/http/response/RestResponse.java index 69b78bb0..4d6cb94c 100644 --- a/src/main/java/com/jcabi/http/response/RestResponse.java +++ b/src/main/java/com/jcabi/http/response/RestResponse.java @@ -26,7 +26,7 @@ * REST response. * *

This response decorator is able to make basic assertions on - * HTTP response and manipulate with it afterwords, for example: + * HTTP response and manipulate with it afterwards, for example: * *

 String name = new JdkRequest("http://my.example.com")
  *   .fetch()

From 084b52a86a983178d43e3d0f3e522ba300499076 Mon Sep 17 00:00:00 2001
From: uchitsa 
Date: Tue, 27 May 2025 01:33:33 +0300
Subject: [PATCH 06/14] #571 fix error

---
 src/main/java/com/jcabi/http/response/XmlResponse.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/com/jcabi/http/response/XmlResponse.java b/src/main/java/com/jcabi/http/response/XmlResponse.java
index 919a6b47..55338253 100644
--- a/src/main/java/com/jcabi/http/response/XmlResponse.java
+++ b/src/main/java/com/jcabi/http/response/XmlResponse.java
@@ -21,7 +21,7 @@
  * XML response.
  *
  * 

This response decorator is able to parse HTTP response body as - * an XML document and manipulate with it afterwords, for example: + * an XML document and manipulate with it afterwards, for example: * *

 String name = new JdkRequest("http://my.example.com")
  *   .header(HttpHeaders.ACCEPT, MediaType.TEXT_XML)

From 21c4085edc2d16aed698faaa099bc5631961151f Mon Sep 17 00:00:00 2001
From: uchitsa 
Date: Tue, 27 May 2025 01:33:57 +0300
Subject: [PATCH 07/14] #571 fix error

---
 src/main/java/com/jcabi/http/response/JsonResponse.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/com/jcabi/http/response/JsonResponse.java b/src/main/java/com/jcabi/http/response/JsonResponse.java
index 9e898c29..69944f7a 100644
--- a/src/main/java/com/jcabi/http/response/JsonResponse.java
+++ b/src/main/java/com/jcabi/http/response/JsonResponse.java
@@ -22,7 +22,7 @@
  * JSON response.
  *
  * 

This response decorator is able to parse HTTP response body as - * a JSON document and manipulate with it afterwords, for example: + * a JSON document and manipulate with it afterwards, for example: * *

 String name = new JdkRequest("http://my.example.com")
  *   .header(HttpHeaders.ACCEPT, MediaType.APPLICATION_JSON)

From ac62275f98bae7a7ae00b83583a152e14a478087 Mon Sep 17 00:00:00 2001
From: uchitsa 
Date: Tue, 27 May 2025 01:57:36 +0300
Subject: [PATCH 08/14] #571 fix errors

---
 src/test/java/com/jcabi/http/RequestTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/com/jcabi/http/RequestTest.java b/src/test/java/com/jcabi/http/RequestTest.java
index 349c6d72..5ba8a11f 100644
--- a/src/test/java/com/jcabi/http/RequestTest.java
+++ b/src/test/java/com/jcabi/http/RequestTest.java
@@ -706,7 +706,7 @@ public void execute() throws Throwable {
                         .body().set("already set").back()
                         .fetch(
                             new ByteArrayInputStream(
-                                "ba".getBytes(StandardCharsets.UTF_8)
+                                "by".getBytes(StandardCharsets.UTF_8)
                             )
                         );
                 }

From a38dd5bd15a5619513187bc87fe683a2ab4bd28a Mon Sep 17 00:00:00 2001
From: uchitsa 
Date: Tue, 27 May 2025 02:23:13 +0300
Subject: [PATCH 09/14] #571 fix errors

---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 10524eab..265297d8 100644
--- a/README.md
+++ b/README.md
@@ -44,7 +44,7 @@ the `master` branch, if they look correct.
 
 Please run Maven build before submitting a pull request:
 
-```
+```bash
 $ mvn clean install -Pqulice
 ```
 

From 86285f529f74c5edc46e5d0ee9c3eae23c8ea414 Mon Sep 17 00:00:00 2001
From: uchitsa 
Date: Sat, 12 Jul 2025 02:23:26 +0300
Subject: [PATCH 10/14] #571 fix errors

---
 .github/workflows/owasp.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/owasp.yml b/.github/workflows/owasp.yml
index 002a3cae..fd71a13e 100644
--- a/.github/workflows/owasp.yml
+++ b/.github/workflows/owasp.yml
@@ -7,7 +7,7 @@ name: OWASP
   schedule:
     - cron: '0 0 * * *'
   pull_request:
-    branches: [ master ]
+    branches: [master]
 
 
 jobs:
@@ -22,4 +22,4 @@ jobs:
           java-version: 11
           distribution: 'temurin'
       - name: Maven
-        run:  mvn --errors --batch-mode -Powasp dependency-check:check
+        run: mvn --errors --batch-mode -Powasp dependency-check:check

From 943e13284f628a4f08ad9c2bbdee3f18e50cca09 Mon Sep 17 00:00:00 2001
From: uchitsa 
Date: Sat, 12 Jul 2025 02:28:08 +0300
Subject: [PATCH 11/14] #571 fix errors

---
 .github/workflows/owasp.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/owasp.yml b/.github/workflows/owasp.yml
index 002a3cae..fd71a13e 100644
--- a/.github/workflows/owasp.yml
+++ b/.github/workflows/owasp.yml
@@ -7,7 +7,7 @@ name: OWASP
   schedule:
     - cron: '0 0 * * *'
   pull_request:
-    branches: [ master ]
+    branches: [master]
 
 
 jobs:
@@ -22,4 +22,4 @@ jobs:
           java-version: 11
           distribution: 'temurin'
       - name: Maven
-        run:  mvn --errors --batch-mode -Powasp dependency-check:check
+        run: mvn --errors --batch-mode -Powasp dependency-check:check

From eab236af64172347e371fc99c5bd40d6ca9c430a Mon Sep 17 00:00:00 2001
From: uchitsa 
Date: Sat, 12 Jul 2025 02:35:03 +0300
Subject: [PATCH 12/14] #571 fix warnings

---
 README.md | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 265297d8..c74c608c 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,6 @@
+#
+[![](http://img.jcabi.com/logo-square.png)](http://img.jcabi.com/logo-square.png)
+
 
 
 [![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org)
@@ -44,8 +47,8 @@ the `master` branch, if they look correct.
 
 Please run Maven build before submitting a pull request:
 
-```bash
-$ mvn clean install -Pqulice
+```shell
+mvn clean install -Pqulice
 ```
 
 Make sure you're using Maven 3.6+ and Java 8+.

From 103e7bd0a238323ad571adfe168473ecf68572b9 Mon Sep 17 00:00:00 2001
From: uchitsa 
Date: Fri, 18 Jul 2025 02:07:19 +0300
Subject: [PATCH 13/14] #571 fix warnings

---
 README.md | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/README.md b/README.md
index c74c608c..6854cf16 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,6 @@
 #
-[![](http://img.jcabi.com/logo-square.png)](http://img.jcabi.com/logo-square.png)
 
-
+[![logo-square](http://img.jcabi.com/logo-square.png)](http://img.jcabi.com/logo-square.png)
 
 [![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org)
 [![DevOps By Rultor.com](https://www.rultor.com/b/jcabi/jcabi-http)](https://www.rultor.com/p/jcabi/jcabi-http)

From 1ed91926b3dc4b17f09fb9850ae40ff8bac73751 Mon Sep 17 00:00:00 2001
From: uchitsa 
Date: Thu, 7 Aug 2025 17:18:17 +0300
Subject: [PATCH 14/14] skip java 19 in mvn job

---
 .github/workflows/mvn.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/mvn.yml b/.github/workflows/mvn.yml
index bd095f0c..2bbfc63d 100644
--- a/.github/workflows/mvn.yml
+++ b/.github/workflows/mvn.yml
@@ -17,7 +17,7 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-24.04, windows-2022, macos-15]
-        java: [11, 17, 19, 21]
+        java: [11, 17, 21]
     steps:
       - uses: actions/checkout@v4
       - uses: actions/setup-java@v4