siddiqueirshad opened a new pull request, #991:
URL: https://github.com/apache/nutch/pull/991

   ### Description
   Remove redundant try-catch blocks that catch Exception and call 
ail(e.getMessage()) in TestStaticFieldIndexerTest. Since each test method 
already declares  hrows Exception, letting any unexpected exception bubble up 
to the JUnit runner simplifies test code and preserves full stack traces on 
failure.
   
   ### Changes
   - Directly invoke ilter.filter(...) in test methods without redundant 
try-catch-fail wrappers in TestStaticFieldIndexerTest.


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