提交 ef52129e authored 作者: noelgrandin's avatar noelgrandin

the getLoginError method can be marked as private.

上级 d1ed570f
......@@ -879,7 +879,7 @@ public class WebApp {
* @param isH2 if the current database is a H2 database
* @return the formatted error message
*/
String getLoginError(Exception e, boolean isH2) {
private String getLoginError(Exception e, boolean isH2) {
if (e instanceof JdbcSQLException && ((JdbcSQLException) e).getErrorCode() == ErrorCode.CLASS_NOT_FOUND_1) {
return "${text.login.driverNotFound}<br />" + getStackTrace(0, e, isH2);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论