move constant string to left side
This commit is contained in:
parent
4dadbb5a23
commit
8f40c2b7e9
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ public class AdminUpgradeAction extends FessAdminAction {
|
|||
});
|
||||
verifyToken(() -> asIndexHtml());
|
||||
|
||||
if (form.targetVersion.equals("10.0")) {
|
||||
if ("10.0".equals(form.targetVersion)) {
|
||||
upgradeFrom10_0();
|
||||
} else {
|
||||
saveError(messages -> messages.addErrorsUnknownVersionForUpgrade(GLOBAL));
|
||||
|
|
Loading…
Add table
Reference in a new issue