mirror of
https://github.com/crawler-commons/crawler-commons
synced 2024-09-20 08:42:15 +02:00
6c271f5fab
- move the counter _numWarnings into the ParseState object local to parseContent(...) which makes counting and suppressing warnings thread-safe - after parsing the warnings count is stored in a ThreadLocal member variable of SimpleRobotRulesParser, the value is returned by getNumWarnings() - use parameterized method calls for logging, avoid concatenating log messages beforehand |
||
---|---|---|
.. | ||
main | ||
test |