You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…uld be avoided. #129' (#131)
* Fixed "Configuration property 'trimHeaderLine' doesn't take any effect. #128"
* Fixed "'remove-file-header' goal leaves the '\n' character, which should be avoided. #129"
Hello there,
When the RemoveFileHeaderMojo removes the license it calculates the lastChar of '\n'
A few lines lower there is a concatenation
String contentWithoutHeader = content.substring( 0, firstIndex ) + content.substring( lastIndex );
where substring method takes the lastIndex inclusive which is '\n'.
The text was updated successfully, but these errors were encountered: