auth fix: init store password must be not empty by coderzc · Pull Request #1400 · apache/hugegraph
| private String inputPassword() { | ||
| String password = ""; | ||
| String prompt = "Please input the admin password:"; | ||
| String alertMsg = "password must be not empty"; |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String prompt => inputPrompt
String alertMsg => String notEmptyPrompt
improve message "The admin password can't be empty"
| System.out.println(alertMsg); | ||
| } | ||
| } while (password.isEmpty()); | ||
| return password; |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to line 84, and define password on line 73
coderzc
deleted the
auth-input-password
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters