[GitHub] stefanseifert closed pull request #3: Set the name when instantiating a MockRequestParameter

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] stefanseifert closed pull request #3: Set the name when instantiating a MockRequestParameter

GitBox
stefanseifert closed pull request #3: Set the name when instantiating a MockRequestParameter
URL: https://github.com/apache/sling-org-apache-sling-servlet-helpers/pull/3
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/src/main/java/org/apache/sling/servlethelpers/MockRequestParameter.java b/src/main/java/org/apache/sling/servlethelpers/MockRequestParameter.java
index 2c77e3b..2951e6a 100644
--- a/src/main/java/org/apache/sling/servlethelpers/MockRequestParameter.java
+++ b/src/main/java/org/apache/sling/servlethelpers/MockRequestParameter.java
@@ -36,6 +36,7 @@
     private byte[] content;
 
     public MockRequestParameter(String name, String value) {
+        this.name = name;
         this.value = value;
         this.content = null;
     }


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services