mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
SEARCH-188: Adding null check
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ public class PropertyRouter implements DocRouter
|
||||
}
|
||||
String shardBy = node.getShardPropertyValue();
|
||||
|
||||
if (pattern != null)
|
||||
if (shardBy !=null && pattern != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user