Author: nextgens
Date: 2007-04-22 13:34:49 +0000 (Sun, 22 Apr 2007)
New Revision: 12861
Modified:
trunk/freenet/src/freenet/l10n/L10n.java
Log:
Really fix mario's problem
Modified: trunk/freenet/src/freenet/l10n/L10n.java
===================================================================
--- trunk/freenet/src/freenet/l10n/L10n.java 2007-04-22 13:27:19 UTC (rev
12860)
+++ trunk/freenet/src/freenet/l10n/L10n.java 2007-04-22 13:34:49 UTC (rev
12861)
@@ -130,10 +130,10 @@
/**
* Return a new copy of the current translation file
*
- * @return SimpleFieldSet
+ * @return SimpleFieldSet or null
*/
public static SimpleFieldSet getCurrentLanguageTranslation() {
- return new SimpleFieldSet(currentTranslation);
+ return (currentTranslation == null ? null : new
SimpleFieldSet(currentTranslation));
}
/**