Changeset 637 for AE/installer2/src/net/oni2/aeinstaller/backend/mods
- Timestamp:
- Jan 20, 2013, 12:28:12 PM (12 years ago)
- Location:
- AE/installer2/src/net/oni2/aeinstaller/backend/mods
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/backend/mods/Mod.java
r636 r637 8 8 import java.io.IOException; 9 9 import java.io.InputStreamReader; 10 import java.net.URI; 11 import java.net.URISyntaxException; 10 12 import java.util.HashSet; 11 13 … … 295 297 } 296 298 299 /** 300 * @return Depot page URI 301 */ 302 public URI getUrl() { 303 if (node == null) 304 return null; 305 if (node.getPath() == null) 306 return null; 307 URI res = null; 308 try { 309 res = new URI(node.getPath()); 310 } catch (URISyntaxException e) { 311 e.printStackTrace(); 312 } 313 return res; 314 } 315 297 316 @Override 298 317 public String toString() { -
AE/installer2/src/net/oni2/aeinstaller/backend/mods/ModManager.java
r636 r637 129 129 } 130 130 131 updateInstalledMods(); 132 } 133 134 /** 135 * Update the list of currently installed mods 136 */ 137 public void updateInstalledMods() { 131 138 currentlyInstalled = Installer.getInstalledMods(); 132 139 if (currentlyInstalled == null)
Note:
See TracChangeset
for help on using the changeset viewer.