mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -69,9 +69,9 @@ public final class OpenFileHyperlinkInfo implements FileHyperlinkInfo {
|
||||
ApplicationManager.getApplication().runReadAction(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
final VirtualFile file = myFile;
|
||||
if (file.isValid()) {
|
||||
FileEditorManager.getInstance(project).openTextEditor(getDescriptor(), true);
|
||||
OpenFileDescriptor descriptor = getDescriptor();
|
||||
if (descriptor != null) {
|
||||
FileEditorManager.getInstance(project).openTextEditor(descriptor, true);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
+1
-1
@@ -259,7 +259,7 @@ public class RemoteFilePanel implements PropertyChangeListener {
|
||||
myProgressUpdatesQueue.queue(new Update("fraction") {
|
||||
@Override
|
||||
public void run() {
|
||||
myProgressBar.setValue((int)Math.round(100*fraction));
|
||||
myProgressBar.setValue((int)Math.round(100 * fraction));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user