mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-20 20:55:49 +00:00
fix for HER-1744 Incorrect comparison of Strings in ProcessorChain.process() with "!=" operator
* ProcessorChain.java
use equals() to compare string values rather than objects (with "!=")
This commit is contained in:
@@ -119,7 +119,7 @@ implements Iterable<Processor>,
|
||||
String skipToProc = null;
|
||||
|
||||
ploop: for(Processor curProc : this ) {
|
||||
if(skipToProc!=null && curProc.getBeanName() != skipToProc) {
|
||||
if(skipToProc!=null && !curProc.getBeanName().equals(skipToProc)) {
|
||||
continue;
|
||||
} else {
|
||||
skipToProc = null;
|
||||
|
||||
Reference in New Issue
Block a user