/[schmitzm]/trunk/src/skrueger/i8n/Translation.java
ViewVC logotype

Diff of /trunk/src/skrueger/i8n/Translation.java

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

revision 39 by alfonx, Mon Apr 6 19:14:55 2009 UTC revision 44 by alfonx, Tue Apr 14 20:23:41 2009 UTC
# Line 128  public class Translation extends HashMap Line 128  public class Translation extends HashMap
128           * Sometimes Translations are optional, like for keywords.           * Sometimes Translations are optional, like for keywords.
129           */           */
130          public Translation() {          public Translation() {
                 super();  
131          }          }
132    
133          /**          /**
# Line 145  public class Translation extends HashMap Line 144  public class Translation extends HashMap
144          public void fromOneLine(final String oneLineCoded) {          public void fromOneLine(final String oneLineCoded) {
145                  clear();                  clear();
146                  if ((oneLineCoded == null) || (oneLineCoded.equals(""))) {                  if ((oneLineCoded == null) || (oneLineCoded.equals(""))) {
147                          put(DEFAULT_KEY, NO_TRANSLATION);                          put(DEFAULT_KEY, "");
148                          return;                          return;
149                  }                  }
150    

Legend:
Removed from v.39  
changed lines
  Added in v.44

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26