axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Shahi (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-1620) Time constructor modifies passed in parameter
Date Tue, 26 Oct 2004 04:55:44 GMT
     [ http://issues.apache.org/jira/browse/AXIS-1620?page=comments#action_54644 ]
     
Ashutosh Shahi commented on AXIS-1620:
--------------------------------------

This bug is duplicate of AXIS-1521 . I have already submitted a patch for that.
Ashutosh

> Time constructor modifies passed in parameter
> ---------------------------------------------
>
>          Key: AXIS-1620
>          URL: http://issues.apache.org/jira/browse/AXIS-1620
>      Project: Axis
>         Type: Bug
>     Versions: current (nightly)
>     Reporter: Daniel Sheppard
>     Priority: Minor

>
> The constructor of the Time object (org.apache.axis.types.Time):
>     public Time(Calendar value) {
>         this._value = value;
>         _value.set(0,0,0);      // ignore year, month, date
>     }
> This modifies the passed in calendar object. It should clone the object beforehand. If
this is being done for performance reasons, it should be noted in the javadoc.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message