mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 00:02:59 +00:00
propagate from branch 'i2p.i2p' (head da40262a8b7685de3877c1d7d6d16a155caa9e7c)
to branch 'i2p.i2p.zzz.test2' (head 6263bb149b8301059d0471bcc1d47caeca660f4e)
This commit is contained in:
commit
9e4d5c0e61
522 files changed
+64777
-44219
No files matched your search
@@ -44,7 +44,7 @@ public class ConfigUIHelper extends HelperBase {
|
||||
|
||||
/** @return standard and user-installed themes, sorted (untranslated) */
|
||||
private Set<String> themeSet() {
|
||||
Set<String> rv = new TreeSet();
|
||||
Set<String> rv = new TreeSet<String>();
|
||||
// add a failsafe even if we can't find any themes
|
||||
rv.add(CSSHelper.DEFAULT_THEME);
|
||||
File dir = new File(_context.getBaseDir(), "docs/themes/console");
|
||||
@@ -57,9 +57,9 @@ public class ConfigUIHelper extends HelperBase {
|
||||
rv.add(name);
|
||||
}
|
||||
// user themes
|
||||
Set props = _context.getPropertyNames();
|
||||
for (Iterator iter = props.iterator(); iter.hasNext(); ) {
|
||||
String prop = (String) iter.next();
|
||||
Set<String> props = _context.getPropertyNames();
|
||||
for (Iterator<String> iter = props.iterator(); iter.hasNext(); ) {
|
||||
String prop = iter.next();
|
||||
if (prop.startsWith(PROP_THEME_PFX) && prop.length() > PROP_THEME_PFX.length())
|
||||
rv.add(prop.substring(PROP_THEME_PFX.length()));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user