Pankraz76 commented on code in PR #2436:
URL: https://github.com/apache/maven/pull/2436#discussion_r2129582571


##########
src/mdo/java/WrapperProperties.java:
##########
@@ -302,20 +301,17 @@ public synchronized void load(InputStream inStream) 
throws IOException {
 
     @Override
     public void save(OutputStream out, String comments) {
-        OrderedProperties props = new OrderedProperties(getter.get());
-        props.save(out, comments);
+        new OrderedProperties(getter.get()).save(out, comments);
     }
 
     @Override
     public void store(Writer writer, String comments) throws IOException {
-        OrderedProperties props = new OrderedProperties(getter.get());
-        props.store(writer, comments);
+        new OrderedProperties(getter.get()).store(writer, comments);

Review Comment:
   salute.



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to