harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r518413 - /harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/GregorianCalendarTest.java
Date Thu, 15 Mar 2007 01:08:43 GMT
Author: ndbeyer
Date: Wed Mar 14 18:08:42 2007
New Revision: 518413

URL: http://svn.apache.org/viewvc?view=rev&rev=518413
Log:
correct spelling and add warning suppression

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/GregorianCalendarTest.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/GregorianCalendarTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/GregorianCalendarTest.java?view=diff&rev=518413&r1=518412&r2=518413
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/GregorianCalendarTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/util/GregorianCalendarTest.java
Wed Mar 14 18:08:42 2007
@@ -655,15 +655,16 @@
     /**
      * @tests java.util.GregorianCalendar#get(int)
      */
-    public void test_getI() { 
-        // Regression test for Hamrony-2959
+    @SuppressWarnings("deprecation")
+	public void test_getI() { 
+        // Regression test for HARMONY-2959
         Date date = new Date(Date.parse("Jan 15 00:00:01 GMT 2000")); 
         GregorianCalendar gc = new GregorianCalendar(); 
         gc.setGregorianChange(date); 
         gc.setTimeInMillis(Date.parse("Dec 24 00:00:01 GMT 2000")); 
         assertEquals(346, gc.get(Calendar.DAY_OF_YEAR)); 
         
-        // Regression test for Harmony-3003
+        // Regression test for HARMONY-3003
         date = new Date(Date.parse("Feb 28 00:00:01 GMT 2000"));
         gc = new GregorianCalendar();
         gc.setGregorianChange(date);



Mime
View raw message