exclude duplicated dialog fixed
This commit is contained in:
parent
b7a6d89b18
commit
593112561d
1 changed files with 3 additions and 1 deletions
|
@ -12,6 +12,7 @@ import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
|
|
||||||
|
import gnu.trove.procedure.TObjectProcedure;
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
|
|
||||||
import gnu.trove.iterator.TIntObjectIterator;
|
import gnu.trove.iterator.TIntObjectIterator;
|
||||||
|
@ -289,7 +290,8 @@ public class RoutingContext {
|
||||||
if(excludeNotAllowed != null && !excludeNotAllowed.contains(ro.getId())) {
|
if(excludeNotAllowed != null && !excludeNotAllowed.contains(ro.getId())) {
|
||||||
ts.add(ro);
|
ts.add(ro);
|
||||||
}
|
}
|
||||||
} else if(excludeNotAllowed != null && ro.getId() > 0){
|
}
|
||||||
|
if(excludeNotAllowed != null && ro.getId() > 0){
|
||||||
excludeNotAllowed.add(ro.getId());
|
excludeNotAllowed.add(ro.getId());
|
||||||
if(ts.excludedIds == null ){
|
if(ts.excludedIds == null ){
|
||||||
ts.excludedIds = new TLongHashSet();
|
ts.excludedIds = new TLongHashSet();
|
||||||
|
|
Loading…
Reference in a new issue