Github user pdxrunner commented on a diff in the pull request:

    https://github.com/apache/geode/pull/730#discussion_r134616035
  
    --- Diff: 
geode-core/src/main/java/org/apache/geode/management/internal/cli/result/AbstractResultData.java
 ---
    @@ -147,11 +147,10 @@ public ResultData addAsFile(String fileName, String 
fileContents, String message
     
       public ResultData addAsFile(String fileName, byte[] data, int fileType, 
String message,
           boolean addTimeStampToName) {
    -    byte[] bytes = data;
    --- End diff --
    
    I think the contents of `data` should be treated as if it were immutable in 
this usage, so don't make this and the following change.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to