This is the mail archive of the mauve-patches@sourceware.org mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FIY: Remove obsolete check.


I removed 2 checks that require SimpleDateFormat objects to differ based solely on their 2DigitYearStart setting:

http://bugs.sun.com/view_bug.do?bug_id=4167513

2009-07-09 Mario Torre <neugens@aicas.com>

    * gnu/testlet/java/text/SimpleDateFormat/equals:
      Remove obsolete check.
--
Mario Torre, Software Developer, http://www.jroller.com/neugens/
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-44
pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
Fingerprint: BA39 9666 94EC 8B73 27FA  FC7C 4086 63E3 80F2 40CF

USt-Id: DE216375633, Handelsregister HRB 109481, AG Mannheim
Geschäftsführer: Dr. James J. Hunt

Please, support open standards:
http://endsoftpatents.org/

# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: mauve/ChangeLog
--- mauve/ChangeLog Base (1.2141)
+++ mauve/ChangeLog Locally Modified (Based On 1.2141)
@@ -1,3 +1,8 @@
+2009-07-09  Mario Torre  <neugens@aicas.com>
+
+    * gnu/testlet/java/text/SimpleDateFormat/equals:
+      Remove obsolete check.
+
 2009-07-08  Mario Torre  <neugens@aicas.com>
 
     * gnu/testlet/javax/imageio/spi/ServiceRegistry/lookupProviders:
Index: mauve/gnu/testlet/java/text/SimpleDateFormat/equals.java
--- mauve/gnu/testlet/java/text/SimpleDateFormat/equals.java Base (1.2)
+++ mauve/gnu/testlet/java/text/SimpleDateFormat/equals.java Locally Modified (Based On 1.2)
@@ -61,16 +61,12 @@
     harness.check(f1.equals(f2));                  // check 5
     
     Date d1 = new Date();
-    f1.set2DigitYearStart(d1);
-    harness.check(!f1.equals(f2));                 // check 6
-    f2.set2DigitYearStart(d1);
-    harness.check(f1.equals(f2));                  // check 7
     
     // check null argument
-    harness.check(!d1.equals(null));               // check 8
+    harness.check(!d1.equals(null));               // check 6
     
     // check arbitrary argument
-    harness.check(!d1.equals("Not a SimpleDateFormat"));  // check 9
+    harness.check(!d1.equals("Not a SimpleDateFormat"));  // check 7
   }
 
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]