You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by GitBox <gi...@apache.org> on 2018/12/05 20:21:00 UTC

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

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:
users@infra.apache.org


With regards,
Apache Git Services