licenser
licenser copied to clipboard
Fix skipExistingHeaders on long files without headers yet
The problem is that in PreparedCommentHeader there is a reader.mark(2048) call but the contentStartsWithValidHeaderFormat check can use a lot more than 2048 since it scans the entire file. Prevent this by stopping the scan once contentLinesMatch is false.