Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#13687 closed enhancement (fixed)

[Patch] Use CachedFile class for /data/help-browser.css in HelpBrowser class

Reported by: sebastic Owned by: team
Priority: normal Milestone: 16.10
Component: Core Version: tested
Keywords: debian jar resource Cc:

Description

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.

Attachments (1)

use-CachedFile-for-help-browser-css.patch (1.7 KB ) - added by sebastic 8 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by Don-vip, 8 years ago

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

comment:2 by simon04, 8 years ago

Resolution: fixed
Status: newclosed

In 11044/josm:

fix #13687 - Use CachedFile class for /data/help-browser.css in HelpBrowser class (patch by sebastic, modified)

comment:3 by simon04, 8 years ago

Milestone: 16.0916.10

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.