mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
use HttpURLConnection.HTTP_NOT_MODIFIED
This commit is contained in:
@@ -70,7 +70,7 @@ public class RepositoryHelper {
|
||||
indicator.checkCanceled();
|
||||
}
|
||||
|
||||
if (connection.getResponseCode() == 304) {
|
||||
if (connection.getResponseCode() == HttpURLConnection.HTTP_NOT_MODIFIED) {
|
||||
return loadPluginList(pluginListFile);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user