axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Sheppard (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Created: (AXIS-1620) Time constructor modifies passed in parameter
Date Tue, 26 Oct 2004 01:33:43 GMT
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