commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] [patch #3827] java.text.DecimalFormat - small fixes


From: David Gilbert
Subject: [commit-cp] [patch #3827] java.text.DecimalFormat - small fixes
Date: Sun, 13 Mar 2005 21:42:31 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050127 Firefox/1.0

URL:
  <http://savannah.gnu.org/patch/?func=detailitem&item_id=3827>

                 Summary: java.text.DecimalFormat - small fixes
                 Project: classpath
            Submitted by: trebligd
            Submitted on: Sun 03/13/2005 at 21:42
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open

    _______________________________________________________

Details:

The attached patch fixes a few small problems in java.text.DecimalFormat
class:



(1)  The getDecimalFormatSymbols() method should return a copy (clone) of the
symbols.  See see bug parade 4685440 for more information about this;

(2)  Likewise, the setDecimalFormatSymbols() method should store a copy of
the supplied symbols;

(3)  The equals() method is not distinguishing some fields;



I committed a whole bunch of Mauve tests to CVS to cover the above cases and
some others too.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 03/13/2005 at 21:42  Name: patch.txt  Size: 4.14KB   By: trebligd
Patch for DecimalFormat.java
<http://savannah.gnu.org/patch/download.php?item_id=3827&item_file_id=4335>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?func=detailitem&item_id=3827>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]