[Patch] Use CachedFile class for /data/help-browser.css in HelpBrowser class
As discussed on the josm-dev list, most code uses the CachedFile
class to access embedded resources in jar, but the the HelpBrowser
class doesn't do so for /data/help-browser.css
. Using the CachedFile
class to access embedded resources increases consistency in the JOSM code, and simplifies the patch included in the Debian package that handles data moved out of the jar to /usr/share/josm
by changing CachedFile.CachedFile()
.
attachment:use-CachedFile-for-help-browser-css.patch uses the CachedFile class instead of getResourceAsStream()
to access /data/help-browser.css
in the HelpBrowser
class.
Change History
(4)
Keywords: |
debian jar resource added
|
Summary: |
Use CachedFile class for /data/help-browser.css in HelpBrowser class → [Patch] Use CachedFile class for /data/help-browser.css in HelpBrowser class
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
In 11044/josm: