You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "elharo (via GitHub)" <gi...@apache.org> on 2026/06/30 20:17:43 UTC

[I] 2. No-op backup/restore in BaseFilter.getDefaultFilterWrappers() [maven-filtering]

elharo opened a new issue, #345:
URL: https://github.com/apache/maven-filtering/issues/345

   ### Affected version
   
   HEAD
   
   ### Bug description
   
   
   
   
   File: src/main/java/org/apache/maven/shared/filtering/BaseFilter.java, lines 78–81
   
   // backup values
   boolean supportMultiLineFiltering = request.isSupportMultiLineFiltering();
   request.setSupportMultiLineFiltering(supportMultiLineFiltering);
   
   This reads the supportMultiLineFiltering flag from the request and immediately writes the same value back. The variable supportMultiLineFiltering is never used again. The comment says "backup values" but there is no corresponding restore. This appears to be leftover dead code from an incomplete refactoring.


-- 
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-unsubscribe@maven.apache.org.apache.org

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


Re: [I] 2. No-op backup/restore in BaseFilter.getDefaultFilterWrappers() [maven-filtering]

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet closed issue #345: 2. No-op backup/restore in BaseFilter.getDefaultFilterWrappers()
URL: https://github.com/apache/maven-filtering/issues/345


-- 
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-unsubscribe@maven.apache.org

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