jdk/src/share/classes/java/text/DecimalFormat.java
changeset 10419 12c063b39232
parent 7003 7d8d9506b4ee
child 12848 da701d422d2c
equal deleted inserted replaced
10418:1d57022fdb6e 10419:12c063b39232
  1889 
  1889 
  1890     /**
  1890     /**
  1891      * Standard override; no change in semantics.
  1891      * Standard override; no change in semantics.
  1892      */
  1892      */
  1893     public Object clone() {
  1893     public Object clone() {
  1894         try {
  1894         DecimalFormat other = (DecimalFormat) super.clone();
  1895             DecimalFormat other = (DecimalFormat) super.clone();
  1895         other.symbols = (DecimalFormatSymbols) symbols.clone();
  1896             other.symbols = (DecimalFormatSymbols) symbols.clone();
  1896         other.digitList = (DigitList) digitList.clone();
  1897             other.digitList = (DigitList) digitList.clone();
  1897         return other;
  1898             return other;
       
  1899         } catch (Exception e) {
       
  1900             throw new InternalError();
       
  1901         }
       
  1902     }
  1898     }
  1903 
  1899 
  1904     /**
  1900     /**
  1905      * Overrides equals
  1901      * Overrides equals
  1906      */
  1902      */