axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <>
Subject [jira] Created: (AXIS2-736) [ADB] Feedback from Wendy's POC
Date Mon, 15 May 2006 15:15:08 GMT
[ADB] Feedback from Wendy's POC

         Key: AXIS2-736
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug

    Reporter: Davanum Srinivas

See original email here:

4.   Bug: does not compile.
In the GetAppReleasesType#Factory.parse method, a reference is made to the 
nonexistent method "
The correct method name is "
".  Note:  There is a correct reference to the 
method in the AppRelease#Factory.parse method.  This leads me to conclude 
that you are not using common methods to determine which conversions to 
perform on input vs. output content, and so bugs that are caught in one 
class may still be unidentified in another class.

5.   Bug:  In, the values for localAvailabilityStopTracker 
and localReleaseDescTracker are not set properly.
In the setters for the attributes that these Trackers track, the following 
code should be used to ensure that the Trackers are set properly:
For localAvailabilityStopTracker - 
    public void setAvailabilityStop(java.util.Date param) {

        // update the setting tracker
        localAvailabilityStopTracker = (param != null);

        this.localAvailabilityStop = param;

For localReleaseDescTracker - 
    public void setReleaseDesc(java.lang.String param) {

        // update the setting tracker
        localReleaseDescTracker = true;

        this.localReleaseDesc = param;

As generated by WSDL2Java, the Tracker is set to true even if the variable 
it is tracking is unset back to null.

6.   Bug:  In the AppReleaseResponse.setReturn method, the value of 
local_returnTracker may be set to true, but it will never be unset.
Similar to Bug #3, the local_returnTracker should be set using the 
following code to ensure that it is unset when the supplied parm is null:
    public void set_return([] param) {


        // update the setting tracker
        local_returnTracker = (param != null);
        local_return = param;

7.   Annoyance:  In the AppReleaseResponse.addReturn method, 
local_returnTracker only needs to be set to true when the local_return 
array is instantiated, not every time an AppRelease is added to the array.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message