Update of /var/cvs/src/org/mmbase/util
In directory james.mmbase.org:/tmp/cvs-serv7102

Modified Files:
        LocalizedString.java 
Log Message:
a bit silly to let super clone the map at all


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/util


Index: LocalizedString.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/util/LocalizedString.java,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- LocalizedString.java        27 Aug 2008 17:07:34 -0000      1.34
+++ LocalizedString.java        27 Apr 2009 14:43:35 -0000      1.35
@@ -32,7 +32,7 @@
  *</p>
  *
  * @author Michiel Meeuwissen
- * @version $Id: LocalizedString.java,v 1.34 2008/08/27 17:07:34 michiel Exp $
+ * @version $Id: LocalizedString.java,v 1.35 2009/04/27 14:43:35 michiel Exp $
  * @since MMBase-1.8
  */
 public class LocalizedString implements java.io.Serializable, 
PublicCloneable<LocalizedString> {
@@ -80,7 +80,7 @@
 
     private String key;
 
-    private Map<Locale, String> values = null;
+    private transient Map<Locale, String> values = null;
     private String bundle = null;
 
     // just for the contract of Serializable
@@ -414,7 +414,6 @@
             return clone;
         } catch (CloneNotSupportedException cnse) {
             // should not happen
-            log.error("Cannot clone this LocalizedString");
             throw new RuntimeException("Cannot clone this LocalizedString", 
cnse);
         }
     }
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to