hyunw9 opened a new pull request, #4979: URL: https://github.com/apache/zeppelin/pull/4979
### What is this PR for? In the following file [zeppelin/file/src/main/java/org/apache/zeppelin/file/HDFSFileInterpreter.java](https://github.com/apache/zeppelin/blob/91f091e287b94295ec7f10254b4f4ac800209899/file/src/main/java/org/apache/zeppelin/file/HDFSFileInterpreter.java#L180) The Character constructor is deprecated in Java 9 and later, recommending the use of the static factory method Character.valueOf() instead. This change's objective is to update the code to use the modern recommended approach. As-is ``` if (args.flags.contains(new Character('l'))) { ``` To-be ``` if (args.flags.contains(Character.valueOf('l'))) { ``` Also, Changed single word's type from **""** -> **''** ### What type of PR is it? Refactoring ### Todos * [ ] - Replace deprecated Character constructor * [ ] - Change single word's data type ### What is the Jira issue? * Open an issue on [Jira](https://issues.apache.org/jira/browse/ZEPPELIN-6246) ### How should this be tested? * Strongly recommended: add automated unit tests for any new or changed behavior * Outline any manual steps to test the PR here. ### Screenshots (if appropriate) ### Questions: * Does the license files need to update? - No * Is there breaking changes for older versions? - No * Does this needs documentation? - No -- 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. To unsubscribe, e-mail: reviews-unsubscr...@zeppelin.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org