mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Even if we don't know the actual content size, we still want to show that something is going on
This commit is contained in:
@@ -110,6 +110,7 @@ public class NetUtils {
|
||||
int expectedContentSize) throws IOException, ProcessCanceledException {
|
||||
if (indicator != null) {
|
||||
indicator.checkCanceled();
|
||||
if (expectedContentSize < 0) indicator.setIndeterminate(true);
|
||||
}
|
||||
|
||||
final byte[] buffer = new byte[4 * 1024];
|
||||
|
||||
Reference in New Issue
Block a user