Adding debugging code to ProhibitedFromSearch
This commit is contained in:
parent
6779dd5cb7
commit
5467d62023
1 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,9 @@ public class ProhibitedFromSearch {
|
||||||
|
|
||||||
public synchronized boolean isClassProhibited(String classURI){
|
public synchronized boolean isClassProhibited(String classURI){
|
||||||
if( classURI != null ){
|
if( classURI != null ){
|
||||||
return prohibitedClasses.contains(classURI);
|
boolean p = prohibitedClasses.contains(classURI);
|
||||||
|
log.debug( classURI + " is " + (p?"prohibited":"not prohibited"));
|
||||||
|
return p;
|
||||||
}else{
|
}else{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue