This is an automated email from the ASF dual-hosted git repository.
jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git
The following commit(s) were added to refs/heads/master by this push:
new b861f2b619 SonarQube bug fixes
b861f2b619 is described below
commit b861f2b6196861340081878a03dacfe2515a7abb
Author: James Bognar <[email protected]>
AuthorDate: Thu Feb 5 10:20:46 2026 -0500
SonarQube bug fixes
---
.../src/main/java/org/apache/juneau/rest/client/RestRequest.java | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git
a/juneau-rest/juneau-rest-client/src/main/java/org/apache/juneau/rest/client/RestRequest.java
b/juneau-rest/juneau-rest-client/src/main/java/org/apache/juneau/rest/client/RestRequest.java
index e7891ef50a..c98958a4da 100644
---
a/juneau-rest/juneau-rest-client/src/main/java/org/apache/juneau/rest/client/RestRequest.java
+++
b/juneau-rest/juneau-rest-client/src/main/java/org/apache/juneau/rest/client/RestRequest.java
@@ -381,6 +381,7 @@ public class RestRequest extends BeanSession implements
HttpUriRequest, Configur
/**
* Used in combination with {@link #cancellable(Cancellable)}.
*
+ * @deprecated Since 10.0, for removal.
* @return This object.
*/
@Deprecated(since = "10.0", forRemoval = true)
@@ -1974,11 +1975,7 @@ public class RestRequest extends BeanSession implements
HttpUriRequest, Configur
request2.setEntity(entity);
}
- try {
- response = client.createResponse(this,
client.run(target, request, context), parser2);
- } catch (Exception e) {
- throw e;
- }
+ response = client.createResponse(this,
client.run(target, request, context), parser2);
if (isDebug() || client.logRequests == DetailLevel.FULL)
response.cacheContent();