Changeset 662 for AE/installer2/src/net/oni2/aeinstaller/backend
- Timestamp:
- Feb 2, 2013, 12:41:38 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/backend/depot/DepotManager.java
r641 r662 9 9 import java.io.UnsupportedEncodingException; 10 10 import java.net.UnknownHostException; 11 import java.util.Date; 11 12 import java.util.Enumeration; 12 13 import java.util.HashMap; … … 64 65 /** 65 66 * Update local Depot information cache 66 * 67 * @param forceRefreshAll 68 * Force refreshing all data, even if it seems to be cached 69 */ 70 public void updateInformation(boolean forceRefreshAll) { 67 */ 68 public void updateInformation() { 71 69 try { 72 70 java.io.File zipName = new java.io.File(Paths.getDownloadPath(), 73 71 "jsoncache.zip"); 74 72 FileDownloader fd = new FileDownloader(DepotConfig.getDepotUrl() 75 + "jsoncache/jsoncache.zip", zipName); 73 + "jsoncache/jsoncache.zip?ts=" 74 + (new Date().getTime() / 1000), zipName); 76 75 fd.start(); 77 76 while (fd.getState() != net.oni2.aeinstaller.backend.network.FileDownloader.EState.FINISHED) { … … 214 213 return false; 215 214 } 216 215 217 216 private TaxonomyVocabulary getVocabulary(String name) { 218 217 for (TaxonomyVocabulary v : taxonomyVocabulary.values()) {
Note:
See TracChangeset
for help on using the changeset viewer.