/[schmitzm]/branches/1.0-gt2-2.6/src/skrueger/i8n/Translation.java
ViewVC logotype

Diff of /branches/1.0-gt2-2.6/src/skrueger/i8n/Translation.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 420 by alfonx, Thu Oct 1 20:22:48 2009 UTC revision 453 by mojays, Fri Oct 9 21:50:48 2009 UTC
# Line 343  public class Translation extends HashMap Line 343  public class Translation extends HashMap
343          public Translation copyTo(Translation translation2) {          public Translation copyTo(Translation translation2) {
344                                    
345                  if (translation2 == null)                  if (translation2 == null)
346                          throw new IllegalArgumentException(  //          throw new IllegalArgumentException(
347                                          "Target translation may not be null.");  //              "Target translation may not be null.");
348                      return copy();
349                  for (String s : keySet()) {                  for (String s : keySet()) {
350                          translation2.put(s, get(s));                          translation2.put(s, get(s));
351                  }                  }

Legend:
Removed from v.420  
changed lines
  Added in v.453

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26