Skip to content
Snippets Groups Projects
Commit 4edbae9f authored by vkovtun's avatar vkovtun
Browse files

SSDM-10566 Removed unnecessary validation.

parent 5598bd1e
No related branches found
No related tags found
No related merge requests found
......@@ -73,12 +73,6 @@ public class CodeSearchConditionTranslator implements IConditionTranslator<Strin
{
final FullEntityIdentifier fullObjectIdentifier = new FullEntityIdentifier(innerValue, null);
final SampleIdentifierParts identifierParts = fullObjectIdentifier.getParts();
if (identifierParts.getProjectCodeOrNull() != null)
{
throw new IllegalArgumentException("There cannot be project code for this entity.");
}
final String entityCode = fullObjectIdentifier.getEntityCode();
final String spaceCode = identifierParts.getSpaceCodeOrNull();
final String containerCode = identifierParts.getContainerCodeOrNull();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment