-
Notifications
You must be signed in to change notification settings - Fork 398
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify download file properties (#7519)
* Simplify DownloadFileProperties 1. Fix up/simplify optional API usage around getVersion, can return an optional directly from DownloadFileProperties to simplify client code 2. Convert saveForZip to be stateful rather than static. * Remove unused properties in map '*.properties' files, we only use the map version The map url, time of download, engine version are unused, we only need the map version in a '.properties' map suffix file. * Simplify DownloadFileProperties construction Rather than construct via no-arg and then inject a version value, we can accept the version value as a constructor argument.
- Loading branch information
1 parent
f3adaf7
commit 00799e8
Showing
4 changed files
with
17 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters