reformatted

This commit is contained in:
Pratik Shelarkar 2023-12-03 02:02:24 +05:30
parent 37222e2785
commit 9ccfff94b1
2 changed files with 3 additions and 3 deletions

View File

@ -279,7 +279,7 @@ public final class CheckIndexDialogFactory implements DialogOpener.DialogFactory
setProgress(0);
statusLbl.setText("Running...");
indicatorLbl.setVisible(true);
try (TextAreaPrintStream ps = new TextAreaPrintStream(logArea)){
try (TextAreaPrintStream ps = new TextAreaPrintStream(logArea)) {
CheckIndex.Status status = toolsModel.checkIndex(ps);
return status;
} catch (Exception e) {

View File

@ -215,7 +215,7 @@ public final class OptimizeIndexDialogFactory implements DialogOpener.DialogFact
statusLbl.setText("Running...");
indicatorLbl.setVisible(true);
try(TextAreaPrintStream ps = new TextAreaPrintStream(logArea)) {
try (TextAreaPrintStream ps = new TextAreaPrintStream(logArea)) {
toolsModel.optimize(expungeCB.isSelected(), (int) maxSegSpnr.getValue(), ps);
} catch (Exception e) {
statusLbl.setText(MessageUtils.getLocalizedMessage("message.error.unknown"));