This is an automated email from the ASF dual-hosted git repository.
reiern70 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git
The following commit(s) were added to refs/heads/master by this push:
new 5d2cae18df [WICKET-7033] add comments to code (amendment)
5d2cae18df is described below
commit 5d2cae18df45cce2a37f6e3b592c52802f90b865
Author: reiern70 <[email protected]>
AuthorDate: Thu Apr 20 09:32:24 2023 +0300
[WICKET-7033] add comments to code (amendment)
---
.../markup/html/form/upload/resource/AbstractFileUploadResource.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/wicket-core/src/main/java/org/apache/wicket/markup/html/form/upload/resource/AbstractFileUploadResource.java
b/wicket-core/src/main/java/org/apache/wicket/markup/html/form/upload/resource/AbstractFileUploadResource.java
index f931f95f4f..2198ccb795 100644
---
a/wicket-core/src/main/java/org/apache/wicket/markup/html/form/upload/resource/AbstractFileUploadResource.java
+++
b/wicket-core/src/main/java/org/apache/wicket/markup/html/form/upload/resource/AbstractFileUploadResource.java
@@ -143,8 +143,8 @@ public abstract class AbstractFileUploadResource extends
AbstractResource
catch (FileUploadException fux)
{
resourceResponse.setContentType("application/json");
- // even when this exceptional situation we want the
request to be successful
- // as we are just sending back to client some JSON with
error messages
+ // even when this is an exceptional situation we want
the request to be successful
+ // as we are just sending back to the client some JSON
with error messages,
// which will in turn be sent to wicket component (who
will handle the errors)
resourceResponse.setStatusCode(HttpServletResponse.SC_OK);
JSONObject json = new JSONObject();