mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-24924 Background task "Indexing" could use % sign
This commit is contained in:
@@ -84,6 +84,8 @@ class CacheUpdateRunner {
|
||||
synchronized (processed) {
|
||||
processed.add(virtualFile);
|
||||
indicator.setFraction(processed.size() / total);
|
||||
int percent = (int)(processed.size() * 100 / total);
|
||||
indicator.setText("Indexing... " + percent + "%");
|
||||
if (ApplicationManager.getApplication().isInternal()) {
|
||||
if (virtualFile.isValid()) {
|
||||
indicator.setText2(virtualFile.getPresentableUrl());
|
||||
|
||||
Reference in New Issue
Block a user