/[classpath]/classpath/java/text/DecimalFormatSymbols.java
ViewVC logotype

Diff of /classpath/java/text/DecimalFormatSymbols.java

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

revision 1.7 by mark, Sat Nov 15 21:45:27 2003 UTC revision 1.8 by glavaux, Sat Nov 22 14:55:15 2003 UTC
# Line 158  public final class DecimalFormatSymbols Line 158  public final class DecimalFormatSymbols
158      percent = safeGetChar (res, "percent", '%');      percent = safeGetChar (res, "percent", '%');
159      perMill = safeGetChar (res, "perMill", '\u2030');      perMill = safeGetChar (res, "perMill", '\u2030');
160      zeroDigit = safeGetChar (res, "zeroDigit", '0');      zeroDigit = safeGetChar (res, "zeroDigit", '0');
161        locale = loc;
162    }    }
163    
164    /**    /**
# Line 580  public final class DecimalFormatSymbols Line 581  public final class DecimalFormatSymbols
581    /**    /**
582     * @serial This value represents the type of object being de-serialized.     * @serial This value represents the type of object being de-serialized.
583     * 0 indicates a pre-Java 1.1.6 version, 1 indicates 1.1.6 or later.     * 0 indicates a pre-Java 1.1.6 version, 1 indicates 1.1.6 or later.
584     */     * 0 indicates a pre-Java 1.1.6 version, 1 indicates 1.1.6 or later,
585    private int serialVersionOnStream = 1;     * 2 indicates 1.4 or later
586        */
587      private int serialVersionOnStream = 2;
588    /**    /**
589     * @serial This is the character used to represent 0.     * @serial This is the character used to represent 0.
590     */     */
591    private char zeroDigit;    private char zeroDigit;
592    
593      /**
594       * @serial The locale of these currency symbols.
595       */
596      private Locale locale;
597    
598    private static final long serialVersionUID = 5772796243397350300L;    private static final long serialVersionUID = 5772796243397350300L;
599    
600    private void readObject(ObjectInputStream stream)    private void readObject(ObjectInputStream stream)
# Line 597  public final class DecimalFormatSymbols Line 605  public final class DecimalFormatSymbols
605        {        {
606          monetarySeparator = decimalSeparator;          monetarySeparator = decimalSeparator;
607          exponential = 'E';          exponential = 'E';
         serialVersionOnStream = 1;  
608        }        }
609        if (serialVersionOnStream < 2)
610            locale = Locale.getDefault();
611    
612        serialVersionOnStream = 2;
613    }    }
614  }  }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26