You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by ra...@apache.org on 2005/09/19 23:35:30 UTC

svn commit: r290278 - /xmlbeans/trunk/src/xmlpublic/org/apache/xmlbeans/GDuration.java

Author: radup
Date: Mon Sep 19 14:35:25 2005
New Revision: 290278

URL: http://svn.apache.org/viewcvs?rev=290278&view=rev
Log:
Zero-arg constructor of GDuration did not properly initialize the fractions of a second field.

Contributed by Lawrence Jones

Modified:
    xmlbeans/trunk/src/xmlpublic/org/apache/xmlbeans/GDuration.java

Modified: xmlbeans/trunk/src/xmlpublic/org/apache/xmlbeans/GDuration.java
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/src/xmlpublic/org/apache/xmlbeans/GDuration.java?rev=290278&r1=290277&r2=290278&view=diff
==============================================================================
--- xmlbeans/trunk/src/xmlpublic/org/apache/xmlbeans/GDuration.java (original)
+++ xmlbeans/trunk/src/xmlpublic/org/apache/xmlbeans/GDuration.java Mon Sep 19 14:35:25 2005
@@ -47,6 +47,7 @@
     public GDuration()
     {
         _sign = +1;
+        _fs = GDate._zero;
     }
 
     private static final int SEEN_NOTHING = 0;



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org