throw new ODataNotFoundException(ODataNotFoundException.ENTITY);
}
throw new ODataNotImplementedException();
}
<BUG>public Object readData(final EdmFunctionImport function, final Map<String, Object> parameters, final Map<String, Object> keys)
throws ODataNotImplementedException, ODataNotFoundException, EdmException {
if (function.getName().equals(MetadataConstants.SEARCH_FUNCTION_NAME)) {</BUG>
return search(parameters, keys);
} else if (function.getName().equals(MetadataConstants.FIND_PACKAGES_BY_ID_FUNCTION_NAME)) {
return findPackagesById(parameters, keys);

throw new ODataNotFoundException(ODataNotFoundException.ENTITY);
}
throw new ODataNotImplementedException();
}
@NotNull
public Object readData(@NotNull final EdmFunctionImport function,
@NotNull final Map<String, Object> parameters,
@NotNull final Map<String, Object> keys) throws ODataHttpException, EdmException {
if (function.getName().equals(MetadataConstants.SEARCH_FUNCTION_NAME)) {
return search(parameters, keys);
} else if (function.getName().equals(MetadataConstants.FIND_PACKAGES_BY_ID_FUNCTION_NAME)) {
return findPackagesById(parameters, keys);
