use HttpURLConnection.HTTP_NOT_MODIFIED

This commit is contained in:
Sergey Evdokimov
2013-05-30 11:13:33 +04:00
parent 69d8187445
commit 1f5817582a
@@ -70,7 +70,7 @@ public class RepositoryHelper {
indicator.checkCanceled();
}
if (connection.getResponseCode() == 304) {
if (connection.getResponseCode() == HttpURLConnection.HTTP_NOT_MODIFIED) {
return loadPluginList(pluginListFile);
}