kwin commented on a change in pull request #5: Typo fix in getStatusMessage 
(was geStatusMessage)
URL: 
https://github.com/apache/sling-org-apache-sling-servlet-helpers/pull/5#discussion_r285388479
 
 

 ##########
 File path: 
src/main/java/org/apache/sling/servlethelpers/MockSlingHttpServletResponse.java
 ##########
 @@ -262,6 +262,11 @@ public void setLocale(Locale loc) {
         this.locale = loc;
     }
 
+    public String getStatusMessage() {
+        return statusMessage;
+    }
+    
+    @Deprecated
 
 Review comment:
   Please always give a short reasoning in javadoc what should be used instead 
of the deprecated method.
   Also it would be good to call getStatusMessage(), so in case the latter 
method body is modified it affects both methods!

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


With regards,
Apache Git Services

Reply via email to