Author: nextgens
Date: 2008-08-19 19:17:03 +0000 (Tue, 19 Aug 2008)
New Revision: 22034
Modified:
trunk/freenet/src/freenet/l10n/L10n.java
Log:
L10n: protect the API restricting accesses
Modified: trunk/freenet/src/freenet/l10n/L10n.java
===================================================================
--- trunk/freenet/src/freenet/l10n/L10n.java 2008-08-19 19:14:08 UTC (rev
22033)
+++ trunk/freenet/src/freenet/l10n/L10n.java 2008-08-19 19:17:03 UTC (rev
22034)
@@ -53,7 +53,7 @@
private final String fullName;
private final String isoCode;
- LANGUAGE(String shortCode, String fullName, String isoCode) {
+ private LANGUAGE(String shortCode, String fullName, String
isoCode) {
this.shortCode = shortCode;
this.fullName = fullName;
this.isoCode = isoCode;
@@ -88,11 +88,11 @@
return isoCode;
}
- protected String getL10nFilename() {
+ private String getL10nFilename() {
return PREFIX.replace ('.',
'/').concat(PREFIX.concat(shortCode.concat(SUFFIX)));
}
- protected String getL10nOverrideFilename() {
+ private String getL10nOverrideFilename() {
return L10n.PREFIX + shortCode + L10n.OVERRIDE_SUFFIX;
}