narendly opened a new issue #1473: URL: https://github.com/apache/helix/issues/1473
### Describe the bug ``` /** * Get ideal state for a resource * @param clusterName * @param resourceName * @return */ IdealState getResourceIdealState(String clusterName, String resourceName); ``` Our JavaDoc is lacking - it doesn't describe what will happen in failure cases where the cluster doesn't exist, or the resource doesn't exist. If the cluster doesn't exist, we should alert the user with an appropriate exception. If the resource doesn't exist, we should return null (existing behavior). These things should be documented clearly in the JavaDoc. ### To Reproduce N/A ### Expected behavior See above. ### Additional context N/A ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
