Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 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 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by sebastic

comment:1 Changed 3 years ago by Don-vip

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 Changed 3 years ago by simon04

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 Changed 3 years ago by simon04

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.