Updated JavaDoc and refactored method name