Claudenw commented on PR #786:
URL: https://github.com/apache/creadur-rat/pull/786#issuecomment-7065410178

   Since you are adding a couple of editors to this can you check if Tika tells 
us the content type, if so it should be in the Document.metadata object.
   
   Also, let's think about breaking the editors into separate classes that 
implement an interface that does the edit so one editor for each class of 
files.  I think it will simplify the code and make it clearer.
   
   Also, I am not certain we should continue to do this in RAT going forward.  
In my opinion RAT should tell you what the problems are, not attempt to correct 
them.  There are a number of other tools that will insert headers if that is 
what you want to do.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to